Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Update install
Browse files Browse the repository at this point in the history
  • Loading branch information
liberodark authored May 22, 2020
1 parent e1c5bad commit 5226a02
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,16 @@ ynh_app_setting_set "$app" port "$port"
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================

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"
ynh_app_setting_set $app final_path $final_path

# Download, check integrity, uncompress and patch the source from app-[arch].src
case `uname -m` in
x86) ynh_setup_source "$final_path" "app-amd64" ;;
x86_64) ynh_setup_source "$final_path" "app-amd64" ;;
aarch64) ynh_setup_source "$final_path" "app-arm64" ;;
armv7l) ynh_setup_source "$final_path" "app-armhf" ;;
*) ynh_die "Unknown arch" ;;
esac

#==============================================
# INSTALL PLEX
Expand Down

0 comments on commit 5226a02

Please sign in to comment.