Update setup.bash
This commit is contained in:
parent
3a132c51f9
commit
770dd64615
1 changed files with 19 additions and 4 deletions
|
@ -4,8 +4,24 @@ scriptVersion="1.4"
|
|||
######## Package dependencies installation
|
||||
InstallRequirements () {
|
||||
echo "Installing Required Packages..."
|
||||
apk add -U --update --no-cache curl jq python3-dev py3-pip git ffmpeg
|
||||
pip install --upgrade --no-cache-dir -U yq
|
||||
echo "************ install and update packages ************"
|
||||
apk add -U --update --no-cache \
|
||||
flac \
|
||||
opus-tools \
|
||||
jq \
|
||||
git \
|
||||
ffmpeg
|
||||
apk add mp3val --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
||||
echo "*** install beets ***"
|
||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community beets
|
||||
echo "************ install python packages ************"
|
||||
pip install --upgrade --no-cache-dir -U \
|
||||
m4b-merge \
|
||||
pyacoustid \
|
||||
requests \
|
||||
pylast \
|
||||
mutagen \
|
||||
r128gain
|
||||
echo "Done"
|
||||
if [ -d /config/scripts/sma ]; then
|
||||
rm -rf /config/scripts/sma
|
||||
|
@ -55,6 +71,5 @@ if [ -f /config/video.bash ]; then
|
|||
chmod 777 /config/scripts/video.bash
|
||||
fi
|
||||
|
||||
|
||||
chmod 777 -R /config/scripts
|
||||
exit
|
||||
|
|
Loading…
Reference in a new issue