1
0
Fork 0
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:
opi 2016-06-22 11:13:50 +02:00
parent ed12e06f7f
commit e015cc7fe0

View file

@ -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