Before upgrade remove any existing locales
This commit is contained in:
parent
2bb7a202e9
commit
867b2d17b6
|
@ -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 '
|
||||
|
|
Loading…
Reference in New Issue