From 91f3fc0f940a6052ed8cce804193df4511bc1011 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Sep 2014 17:58:00 +0100 Subject: [PATCH] Remove old directories --- install-freedombone.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index da76c0c4..527440da 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -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