1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-02 13:37:21 +02:00

qbit mod, fix sed

This commit is contained in:
GilbN 2024-04-14 17:18:07 +02:00
parent 48f7cf8e13
commit 3361da1416

View File

@ -25,8 +25,8 @@ fi
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
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 \
&& awk '/^P:qbittorrent-nox$/,/V:/' /temp/APKINDEX | sed -n 2p | sed 's/^V://'); \
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:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://' | sed 's/-.*//'); \
fi
# Display variables for troubleshooting
@ -82,6 +82,7 @@ if [[ ! -d /themepark ]]; then
cp -a /temp/src/icons/. /themepark/private/icons
printf '\nCopy finished\n\n'
rm -rf /temp
rm -rf /tmp/*
printf '\nCleanup finished\n\n'
fi