mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Fix upgrade
This commit is contained in:
parent
889491796e
commit
6794ec6918
2 changed files with 1 additions and 10 deletions
|
@ -13,8 +13,6 @@
|
|||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
# 2.0~ynh3
|
||||
upgrade=1 from_commit=1d375c45011ad5ab92c038120c7275580479fbc6
|
||||
# 2.0~ynh5
|
||||
upgrade=1 from_commit=d83328c3e0d7dbbc317ded2924ac08ba3cc51d3e
|
||||
backup_restore=1
|
||||
|
@ -24,7 +22,3 @@
|
|||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=1d375c45011ad5ab92c038120c7275580479fbc6
|
||||
name=2.0~ynh3
|
||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&password=pass&public_site=Yes&
|
||||
|
|
|
@ -107,11 +107,8 @@ then
|
|||
ynh_add_config --template="../conf/index_source.php" --destination="$final_path/www/index.php"
|
||||
ynh_secure_remove --file="$final_path/www/admin.php"
|
||||
|
||||
test -e $final_path/www/lib
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
ln -s $final_path/lib $final_path/www/lib
|
||||
fi
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
|
Loading…
Reference in a new issue