mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-19 17:42:32 +01:00
qbit mod, fix sed
This commit is contained in:
parent
48f7cf8e13
commit
3361da1416
@ -25,8 +25,8 @@ fi
|
|||||||
|
|
||||||
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
||||||
echo 'QBITTORRENT_VERSION not set. Using the latest stable.' \
|
echo 'QBITTORRENT_VERSION not set. Using the latest stable.' \
|
||||||
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /temp \
|
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||||
&& awk '/^P:qbittorrent-nox$/,/V:/' /temp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://' | sed 's/-.*//'); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Display variables for troubleshooting
|
# Display variables for troubleshooting
|
||||||
@ -82,6 +82,7 @@ if [[ ! -d /themepark ]]; then
|
|||||||
cp -a /temp/src/icons/. /themepark/private/icons
|
cp -a /temp/src/icons/. /themepark/private/icons
|
||||||
printf '\nCopy finished\n\n'
|
printf '\nCopy finished\n\n'
|
||||||
rm -rf /temp
|
rm -rf /temp
|
||||||
|
rm -rf /tmp/*
|
||||||
printf '\nCleanup finished\n\n'
|
printf '\nCleanup finished\n\n'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user