Remove old directories
This commit is contained in:
parent
a2b53037ce
commit
f6ace15903
|
@ -2126,11 +2126,17 @@ function install_blog {
|
||||||
|
|
||||||
# install dokuwiki sqlite plugin
|
# install dokuwiki sqlite plugin
|
||||||
tar -xzvf $WIKI_SQLITE_ADDON_ARCHIVE
|
tar -xzvf $WIKI_SQLITE_ADDON_ARCHIVE
|
||||||
|
if [ -d "$INSTALL_DIR/sqlite" ]; then
|
||||||
|
rm -rf $INSTALL_DIR/sqlite
|
||||||
|
fi
|
||||||
mv $WIKI_SQLITE_ADDON_NAME sqlite
|
mv $WIKI_SQLITE_ADDON_NAME sqlite
|
||||||
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
|
||||||
unzip $WIKI_BLOGTNG_ADDON_ARCHIVE
|
unzip $WIKI_BLOGTNG_ADDON_ARCHIVE
|
||||||
|
if [ -d "$INSTALL_DIR/blogtng" ]; then
|
||||||
|
rm -rf $INSTALL_DIR/blogtng
|
||||||
|
fi
|
||||||
mv $WIKI_BLOGTNG_ADDON_NAME blogtng
|
mv $WIKI_BLOGTNG_ADDON_NAME blogtng
|
||||||
cp -r blogtng /var/www/$WIKI_DOMAIN_NAME/htdocs/lib/plugins/
|
cp -r blogtng /var/www/$WIKI_DOMAIN_NAME/htdocs/lib/plugins/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue