mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
Update upgrade
This commit is contained in:
parent
2e2673a656
commit
22c411a23d
1 changed files with 3 additions and 13 deletions
|
@ -5,14 +5,11 @@ set -eu
|
|||
|
||||
# See comments in install script
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
final_path=/opt/yunohost/$app
|
||||
final_path=/var/www/$app
|
||||
|
||||
# Source YunoHost helpers
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
# Stop emby-server service
|
||||
systemctl stop emby-server
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
@ -21,12 +18,6 @@ ynh_app_setting_set $app final_path $final_path
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source "$final_path"
|
||||
|
||||
#==============================================
|
||||
# INSTALL PLEX
|
||||
#==============================================
|
||||
|
||||
dpkg --install $final_path/emby-server-deb*
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -34,7 +25,6 @@ dpkg --install $final_path/emby-server-deb*
|
|||
# Create a dedicated nginx config
|
||||
#ynh_add_nginx_config
|
||||
|
||||
|
||||
#=================================================
|
||||
# UPGRADE CONFIG
|
||||
#=================================================
|
||||
|
@ -51,6 +41,6 @@ dpkg --install $final_path/emby-server-deb*
|
|||
# ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
#fi
|
||||
|
||||
# Start emby-server service
|
||||
systemctl start emby-server
|
||||
# Reload Nginx service
|
||||
systemctl reload nginx
|
||||
|
||||
|
|
Loading…
Reference in a new issue