Remove old directories

This commit is contained in:
Bob Mottram 2014-09-26 17:58:00 +01:00
parent f6ace15903
commit 91f3fc0f94
1 changed files with 3 additions and 0 deletions

View File

@ -2133,6 +2133,9 @@ function install_blog {
cp -r sqlite /var/www/$WIKI_DOMAIN_NAME/htdocs/lib/plugins/
# install blogTNG
if [ -d "$INSTALL_DIR/$WIKI_BLOGTNG_ADDON_NAME" ]; then
rm -rf $INSTALL_DIR/$WIKI_BLOGTNG_ADDON_NAME
fi
unzip $WIKI_BLOGTNG_ADDON_ARCHIVE
if [ -d "$INSTALL_DIR/blogtng" ]; then
rm -rf $INSTALL_DIR/blogtng