Remove old directories
This commit is contained in:
parent
f6ace15903
commit
91f3fc0f94
|
@ -2133,6 +2133,9 @@ function install_blog {
|
||||||
cp -r sqlite /var/www/$WIKI_DOMAIN_NAME/htdocs/lib/plugins/
|
cp -r sqlite /var/www/$WIKI_DOMAIN_NAME/htdocs/lib/plugins/
|
||||||
|
|
||||||
# install blogTNG
|
# 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
|
unzip $WIKI_BLOGTNG_ADDON_ARCHIVE
|
||||||
if [ -d "$INSTALL_DIR/blogtng" ]; then
|
if [ -d "$INSTALL_DIR/blogtng" ]; then
|
||||||
rm -rf $INSTALL_DIR/blogtng
|
rm -rf $INSTALL_DIR/blogtng
|
||||||
|
|
Loading…
Reference in New Issue