mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-08 05:31:59 +00:00
Create installer.sh
This commit is contained in:
30
apps/templates/nzgbet/installer/installer.sh
Normal file
30
apps/templates/nzgbet/installer/installer.sh
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
apk update
|
||||||
|
apk upgrade
|
||||||
|
apk add --no-cache git
|
||||||
|
apk add build-base gcc wget diffutils perl
|
||||||
|
apk add curl
|
||||||
|
git clone https://github.com/mdhiggins/sickbeard_mp4_automator.git /config/scripts/MP4_Automator/tmp
|
||||||
|
cp -r /config/scripts/MP4_Automator/tmp/* /config/scripts/MP4_Automator
|
||||||
|
rm -rf /config/scripts/MP4_Automator/tmp
|
||||||
|
git unstage
|
||||||
|
apk add --no-cache py-setuptools py-pip python-dev libffi-dev gcc musl-dev openssl-dev
|
||||||
|
pip install --upgrade PIP
|
||||||
|
pip install requests
|
||||||
|
pip install requests[security]
|
||||||
|
pip install requests-cache
|
||||||
|
pip install babelfish
|
||||||
|
pip install "guessit<2"
|
||||||
|
pip install "subliminal<2"
|
||||||
|
pip install qtfaststart
|
||||||
|
# As per https://github.com/mdhiggins/sickbeard_mp4_automator/issues/643
|
||||||
|
pip uninstall -y stevedore
|
||||||
|
pip install stevedore==1.19.1
|
||||||
|
#Remove default NZBGetPostProcess script settings, and replace with our own
|
||||||
|
rm /config/scripts/MP4_Automator/NZBGetPostProcess.py
|
||||||
|
cp /config/TEMPLATEPPScript /config/scripts/MP4_Automator/NZBGetPostProcess.py
|
||||||
|
#Build ffmpeg
|
||||||
|
cd /config
|
||||||
|
. /config/ffmpeg-build/web-install.sh
|
||||||
|
#Set script file permissions
|
||||||
|
chmod 777 -R /config/scripts
|
||||||
Reference in New Issue
Block a user