1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Update upgrade

This commit is contained in:
liberodark 2020-05-30 21:10:36 +02:00 committed by GitHub
parent 701f3bde73
commit daa6a8f351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,17 +17,17 @@ systemctl stop jellyfin
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_app_setting_set $app final_path $final_path
ynh_app_setting_set "$app" final_path "$final_path"
# Download, check integrity, uncompress and patch the source from jellyfin-ffmpeg-[arch].src
case `uname -m` in
case $(uname -m) in
x86_64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-arm64" ;;
*) ynh_die "Unknown arch" ;;
esac
# Download, check integrity, uncompress and patch the source from jellyfin-[arch].src
case `uname -m` in
case $(uname -m) in
x86_64) ynh_setup_source "$final_path" "jellyfin-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-arm64" ;;
*) ynh_die "Unknown arch" ;;
@ -40,9 +40,9 @@ ynh_setup_source "$final_path" "jellyfin-plugin-ldapauth"
# INSTALL JELLYFIN
#==============================================
dpkg --install $final_path/jellyfin-ffmpeg.deb
dpkg --install $final_path/jellyfin.deb
rm $final_path/*.deb
dpkg --install "$final_path"/jellyfin-ffmpeg.deb
dpkg --install "$final_path"/jellyfin.deb
rm "$final_path"/*.deb
#=================================================
# NGINX CONFIGURATION
@ -70,4 +70,3 @@ rm $final_path/*.deb
# Start jellyfin service
systemctl start jellyfin