mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
[fix] Do not override acl on update.
This commit is contained in:
parent
ed12e06f7f
commit
e015cc7fe0
1 changed files with 5 additions and 1 deletions
|
@ -42,7 +42,11 @@ final_path=/var/www/$app
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
sudo cp -a ../sources/* $final_path
|
sudo cp -a ../sources/* $final_path
|
||||||
sudo cp ../conf/dokuwiki.php $final_path/conf
|
sudo cp ../conf/dokuwiki.php $final_path/conf
|
||||||
sudo cp ../conf/acl.auth.php $final_path/conf
|
|
||||||
|
# Do not override ACL configuration file
|
||||||
|
if [ ! -f "$final_path/conf/acl.auth.php" ]; then
|
||||||
|
sudo cp ../conf/acl.auth.php $final_path/conf
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove upgrade notification
|
# Remove upgrade notification
|
||||||
# See https://www.dokuwiki.org/update_check
|
# See https://www.dokuwiki.org/update_check
|
||||||
|
|
Loading…
Add table
Reference in a new issue