Skip to content

Commit

Permalink
use var for install path
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Jan 30, 2022
1 parent a9409de commit 89b544d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build/root/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ source aur.sh
# github
####

install_path="/usr/lib/sabnzbd"

# download latest release from github for app, grabbing particular asset as source.zip does not include locale
github.sh --install-path '/usr/lib/sabnzbd' --github-owner 'sabnzbd' --github-repo 'sabnzbd' --download-assets 'SABnzbd.*src.tar.gz' --strip-components '1' --query-type 'release'
github.sh --install-path "${install_path}" --github-owner 'sabnzbd' --github-repo 'sabnzbd' --download-assets 'SABnzbd.*src.tar.gz' --strip-components '1' --query-type 'release'

# pip
# python
####

# use pip to install requirements as defined in requirements.txt
pip.sh --install-path '/usr/lib/sabnzbd' --log-level 'WARN'
pip.sh --install-path "${install_path}" --log-level 'WARN'

# container perms
####
Expand Down

0 comments on commit 89b544d

Please sign in to comment.