Before upgrade remove any existing locales

This commit is contained in:
Bob Mottram 2016-03-22 20:20:28 +00:00
parent 2bb7a202e9
commit 867b2d17b6
1 changed files with 2 additions and 1 deletions

View File

@ -146,6 +146,7 @@ fi
if [ -d $PROJECT_DIR ]; then
if [ -f $CONFIGURATION_FILE ]; then
cd $PROJECT_DIR
rm -rf $PROJECT_DIR/locale/*
git_pull $PROJECT_REPO
make install
${PROJECT_NAME} -c $CONFIGURATION_FILE
@ -154,7 +155,7 @@ fi
# remove the original sipwitch daemon if it exists
if [ -f /etc/init.d/sipwitch ]; then
rm -f /etc/init.d/sipwitch
rm -f /etc/init.d/sipwitch
fi
echo '