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
|
# See comments in install script
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
final_path=/opt/yunohost/$app
|
final_path=/var/www/$app
|
||||||
|
|
||||||
# Source YunoHost helpers
|
# Source YunoHost helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
# Stop emby-server service
|
|
||||||
systemctl stop emby-server
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# 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
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path"
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
#==============================================
|
|
||||||
# INSTALL PLEX
|
|
||||||
#==============================================
|
|
||||||
|
|
||||||
dpkg --install $final_path/emby-server-deb*
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -34,7 +25,6 @@ dpkg --install $final_path/emby-server-deb*
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated nginx config
|
||||||
#ynh_add_nginx_config
|
#ynh_add_nginx_config
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE CONFIG
|
# UPGRADE CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -51,6 +41,6 @@ dpkg --install $final_path/emby-server-deb*
|
||||||
# ynh_app_setting_set "$app" unprotected_uris "/"
|
# ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# Start emby-server service
|
# Reload Nginx service
|
||||||
systemctl start emby-server
|
systemctl reload nginx
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue