mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
Update upgrade: zzzz
This commit is contained in:
parent
a6f03c9965
commit
9efd4b8c6a
1 changed files with 1 additions and 10 deletions
|
@ -19,12 +19,6 @@ ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..."
|
||||
|
||||
# If overwrite_nginx doesn't exist, create it
|
||||
if [ -z "${overwrite_nginx:-}" ]; then
|
||||
overwrite_nginx=1
|
||||
ynh_app_setting_set --app="$app" --key="overwrite_nginx" --value="$overwrite_nginx"
|
||||
fi
|
||||
|
||||
# Remove the apt list entry for jenkins
|
||||
if [ -e "/etc/apt/sources.list.d/jenkins.list" ]; then
|
||||
ynh_secure_remove --file=/etc/apt/sources.list.d/jenkins.list
|
||||
|
@ -84,10 +78,7 @@ done
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||
|
||||
# Overwrite the nginx configuration only if it's allowed
|
||||
if [ "$overwrite_nginx" -eq 1 ]; then
|
||||
ynh_add_nginx_config
|
||||
fi
|
||||
ynh_add_nginx_config
|
||||
|
||||
yunohost service add "$app" --description="Jenkins Continuous Integration Server"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue