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:
parent
701f3bde73
commit
daa6a8f351
1 changed files with 6 additions and 7 deletions
|
@ -17,17 +17,17 @@ systemctl stop jellyfin
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# 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
|
# 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" ;;
|
x86_64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-amd64" ;;
|
||||||
aarch64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-arm64" ;;
|
aarch64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-arm64" ;;
|
||||||
*) ynh_die "Unknown arch" ;;
|
*) ynh_die "Unknown arch" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from jellyfin-[arch].src
|
# 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" ;;
|
x86_64) ynh_setup_source "$final_path" "jellyfin-amd64" ;;
|
||||||
aarch64) ynh_setup_source "$final_path" "jellyfin-arm64" ;;
|
aarch64) ynh_setup_source "$final_path" "jellyfin-arm64" ;;
|
||||||
*) ynh_die "Unknown arch" ;;
|
*) ynh_die "Unknown arch" ;;
|
||||||
|
@ -40,9 +40,9 @@ ynh_setup_source "$final_path" "jellyfin-plugin-ldapauth"
|
||||||
# INSTALL JELLYFIN
|
# INSTALL JELLYFIN
|
||||||
#==============================================
|
#==============================================
|
||||||
|
|
||||||
dpkg --install $final_path/jellyfin-ffmpeg.deb
|
dpkg --install "$final_path"/jellyfin-ffmpeg.deb
|
||||||
dpkg --install $final_path/jellyfin.deb
|
dpkg --install "$final_path"/jellyfin.deb
|
||||||
rm $final_path/*.deb
|
rm "$final_path"/*.deb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -70,4 +70,3 @@ rm $final_path/*.deb
|
||||||
|
|
||||||
# Start jellyfin service
|
# Start jellyfin service
|
||||||
systemctl start jellyfin
|
systemctl start jellyfin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue