1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 01:33:50 +03:00

clean po directory when installing translations

This commit is contained in:
Michail Vourlakos 2017-09-08 20:04:18 +03:00
parent 7db3c16e76
commit ecc102aa81

View File

@ -14,6 +14,9 @@ fi
cd build
if [ $1 == "-translations" ] ; then
if [ -a po ] ; then
sudo rm -fr po
fi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_L10N_BRANCH=trunk -DKDE_L10N_AUTO_TRANSLATIONS=ON -DCMAKE_BUILD_TYPE=$build_type ..
make fetch-translations
else