1
0
opencart-languagepack-finnish/script.sh

32 lines
826 B
Bash
Raw Normal View History

rm opencart-languagepack-finnish -rf
git clone https://gitea.cwinfo.org/cwchristerw/opencart-languagepack-finnish.git opencart-languagepack-finnish
if [ -d "admin" ];
then
if [ -d "admin/language/fi" ];
then
rm admin/language/fi -rf
fi
cp -r opencart-languagepack-finnish/admin admin/language/fi
fi
if [ -d "catalog" ];
then
if [ -d "catalog/language/fi" ];
then
rm catalog/language/fi -rf
fi
cp -r opencart-languagepack-finnish/catalog catalog/language/fi
fi
if [ -d "install" ];
then
if [ -d "install/language/fi" ];
then
rm install/language/fi -rf
fi
cp -r opencart-languagepack-finnish/install install/language/fi
fi
rm opencart-languagepack-finnish -rf