Skip to content
Snippets Groups Projects
Commit 949b4c99 authored by Bob Mottram's avatar Bob Mottram
Browse files

wiki directory creation

parent ab5fc8ca
No related branches found
No related tags found
No related merge requests found
......@@ -263,9 +263,13 @@ function install_wiki {
ln -s /usr/share/dokuwiki /var/www/$WIKI_DOMAIN_NAME/htdocs
mkdir /var/lib/dokuwiki/custom
if [ ! -d /var/lib/dokuwiki/custom ]; then
mkdir /var/lib/dokuwiki/custom
fi
cp /etc/dokuwiki/local.php.dist /var/lib/dokuwiki/custom/local.php
ln -s /var/lib/dokuwiki/custom/local.php /etc/dokuwiki/local.php
if [ ! -f /etc/dokuwiki/local.php ]; then
ln -s /var/lib/dokuwiki/custom/local.php /etc/dokuwiki/local.php
fi
chown www-data /var/lib/dokuwiki/custom
chown www-data /var/lib/dokuwiki/custom/local.php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment