Update setup.bash
This commit is contained in:
parent
f6c5ba2b54
commit
7137e80a30
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="1.0"
|
scriptVersion="1.1"
|
||||||
|
|
||||||
######## Package dependencies installation
|
######## Package dependencies installation
|
||||||
InstallRequirements () {
|
InstallRequirements () {
|
||||||
|
@ -25,13 +25,14 @@ InstallRequirements () {
|
||||||
chmod 777 -R /config/scripts/sma
|
chmod 777 -R /config/scripts/sma
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "Setup Script Version: $scriptVersion"
|
||||||
InstallRequirements
|
InstallRequirements
|
||||||
|
|
||||||
mkdir -p /config/scripts
|
mkdir -p /config/scripts
|
||||||
chmod 777 /config/scripts
|
chmod 777 /config/scripts
|
||||||
echo "Downloading SMA config: /config/scripts/sma.ini"
|
echo "Downloading SMA config: /config/scripts/sma.ini"
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sabnzbd/sma.ini -O /config/scripts/sma.ini
|
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sabnzbd/sma.ini" -O /config/scripts/sma.ini
|
||||||
echo "Downloading Video script config: /config/scripts/video.bash"
|
echo "Downloading Video script config: /config/scripts/video.bash"
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sabnzbd/video.bash -O /config/scripts/video.bash
|
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sabnzbd/video.bash" -O /config/scripts/video.bash
|
||||||
chmod 777 -R /config/scripts
|
chmod 777 -R /config/scripts
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue