Fixing wiki
This commit is contained in:
parent
822f0516bc
commit
7b95c2b528
|
@ -1896,8 +1896,12 @@ function install_wiki {
|
|||
fi
|
||||
|
||||
tar -xzvf $WIKI_ARCHIVE
|
||||
cd dokuwiki-*
|
||||
|
||||
if [ -f "/var/www/$WIKI_DOMAIN_NAME/htdocs" ]; then
|
||||
rm -rf /var/www/$WIKI_DOMAIN_NAME/htdocs
|
||||
mv dokuwiki /var/www/$WIKI_DOMAIN_NAME/htdocs
|
||||
fi
|
||||
mv * /var/www/$WIKI_DOMAIN_NAME/htdocs/
|
||||
chmod -R 755 /var/www/$WIKI_DOMAIN_NAME/htdocs
|
||||
chown -R www-data:www-data /var/www/$WIKI_DOMAIN_NAME/htdocs
|
||||
|
||||
|
|
Loading…
Reference in New Issue