fixed theme installation

This commit is contained in:
Snogard 2023-10-20 18:43:22 +02:00
parent f0190ff602
commit f4e2796db3

View File

@ -52,9 +52,10 @@ sudo ufw allow $torrentPort/udp
# download theme
if [ ! -d "${dstBasePath}${themePath}" ]; then
wget "https://github.com/johman10/flood-for-transmission/releases/download/latest/flood-for-transmission.zip" -O "$dstConfigPath/$themeFileName"
unzip "$dstConfigPath/$themeFileName" -d "$dstConfigPath"
rm "$dstConfigPath/$themeFileName"
mkdir -p /tmp/kaido/$containerName
wget "https://github.com/johman10/flood-for-transmission/releases/download/latest/flood-for-transmission.zip" -O "/tmp/kaido/$containerName/$themeFileName"
sudo unzip "$dstConfigPath/$themeFileName" -d "$dstConfigPath"
rm "/tmp/kaido/$containerName/$themeFileName"
fi