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
|
######## Package dependencies installation
|
||||||
InstallRequirements () {
|
InstallRequirements () {
|
||||||
echo "Installing Required Packages..."
|
echo "Installing Required Packages..."
|
||||||
apk add -U --update --no-cache curl jq python3-dev py3-pip git ffmpeg
|
echo "************ install and update packages ************"
|
||||||
pip install --upgrade --no-cache-dir -U yq
|
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"
|
echo "Done"
|
||||||
if [ -d /config/scripts/sma ]; then
|
if [ -d /config/scripts/sma ]; then
|
||||||
rm -rf /config/scripts/sma
|
rm -rf /config/scripts/sma
|
||||||
|
@ -53,8 +69,7 @@ if [ -f /config/video.bash ]; then
|
||||||
echo "Importing /config/sma.ini to /config/scripts/video.bash"
|
echo "Importing /config/sma.ini to /config/scripts/video.bash"
|
||||||
mv /config/video.bash /config/scripts/video.bash
|
mv /config/video.bash /config/scripts/video.bash
|
||||||
chmod 777 /config/scripts/video.bash
|
chmod 777 /config/scripts/video.bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
chmod 777 -R /config/scripts
|
chmod 777 -R /config/scripts
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue