diff --git a/check_process b/check_process index 3e758c2..4152b6e 100644 --- a/check_process +++ b/check_process @@ -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& diff --git a/scripts/upgrade b/scripts/upgrade index 67ba336..0d3fbef 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,10 +107,7 @@ 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 + ln -s $final_path/lib $final_path/www/lib fi chmod 750 "$final_path"