mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
remove is_public in upgrade script
This commit is contained in:
parent
65c470cacd
commit
0cdf04f65d
3 changed files with 2 additions and 8 deletions
|
@ -12,4 +12,4 @@ How to configure GitLab:
|
||||||
|
|
||||||
### Limitations
|
### Limitations
|
||||||
|
|
||||||
* GitLab is not compatible with 32-bit architectures.
|
* GitLab is not compatible with 32-bit architectures.
|
||||||
|
|
|
@ -12,4 +12,4 @@ Comment configurer GitLab :
|
||||||
|
|
||||||
### Limitations
|
### Limitations
|
||||||
|
|
||||||
* L'application GitLab n'est pas compatible avec les architectures 32-bit.
|
* L'application GitLab n'est pas compatible avec les architectures 32-bit.
|
||||||
|
|
|
@ -18,7 +18,6 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
# Retrieve app settings
|
# Retrieve app settings
|
||||||
domain=$(ynh_app_setting_get --app="$app" --key=domain)
|
domain=$(ynh_app_setting_get --app="$app" --key=domain)
|
||||||
path_url=$(ynh_app_setting_get --app="$app" --key=path)
|
path_url=$(ynh_app_setting_get --app="$app" --key=path)
|
||||||
is_public=$(ynh_app_setting_get --app="$app" --key=is_public)
|
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
config_path=$(ynh_app_setting_get --app=$app --key=config_path)
|
config_path=$(ynh_app_setting_get --app=$app --key=config_path)
|
||||||
port=$(ynh_app_setting_get --app="$app" --key=web_port)
|
port=$(ynh_app_setting_get --app="$app" --key=web_port)
|
||||||
|
@ -41,11 +40,6 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Delete is_public if it exists
|
|
||||||
if [ ! -z $is_public ]; then
|
|
||||||
ynh_app_setting_delete --app=$app --key=is_public
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If final_path doesn't exist, create it
|
# If final_path doesn't exist, create it
|
||||||
if [ -z "$final_path" ]; then
|
if [ -z "$final_path" ]; then
|
||||||
final_path=/opt/$app
|
final_path=/opt/$app
|
||||||
|
|
Loading…
Add table
Reference in a new issue