Skip to content

Commit eb31a37

Browse files
authored
Merge pull request #693 from themepark-dev/develop
1.21.2 ### Fixes - qBittorrent mod: Validate that the config file exist. Fix for #684 - qBittorent base: Remove !important from .dynamicTable th. Fixes QBittorrent Column Sort Icons vanished #671 - servarr base: Remove ProgressBar-purple override. Fix for #646
2 parents 4e21655 + b043f79 commit eb31a37

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

css/base/qbittorrent/qbittorrent-base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ label {
253253
}
254254

255255
.dynamicTable th {
256-
background: var(--transparency-dark-25) !important;
256+
background: var(--transparency-dark-25);
257257
border-right-color: rgba(255, 255, 255, .08) !important;
258258
color: var(--text-hover);
259259
}

css/defaults/servarr-base.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,6 @@ a:hover {
297297
background: var(--transparency-dark-25);
298298
}
299299

300-
[class*="ProgressBar-purple-"] {
301-
background-color: rgb(var(--accent-color));
302-
}
303300

304301
/* ITEM PAGE */
305302

docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ if [ "${TP_HOTIO}" = true ]; then
1010
APP_FILEPATH='/config/config/qBittorrent.conf'
1111
fi
1212

13+
# Validate that the config file exist
14+
if [[ ! -f "${APP_FILEPATH}" ]]; then
15+
echo "qBittorrent config file not found at ${APP_FILEPATH}. Please ensure qBittorrent is configured correctly."
16+
exit 0
17+
fi
18+
1319
# Backup config
1420
if [[ ! -f "${APP_FILEPATH}.bak" ]]; then
1521
echo "Creating qBittorrent.conf backup in /config."

docker-mods/qbittorrent/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ if [ "${TP_HOTIO}" = true ]; then
1010
APP_FILEPATH='/config/config/qBittorrent.conf'
1111
fi
1212

13+
# Validate that the config file exist
14+
if [[ ! -f "${APP_FILEPATH}" ]]; then
15+
echo "qBittorrent config file not found at ${APP_FILEPATH}. Please ensure qBittorrent is configured correctly."
16+
exit 0
17+
fi
18+
1319
# Backup config
1420
if [[ ! -f "${APP_FILEPATH}.bak" ]]; then
1521
echo "Creating qBittorrent.conf backup in /config."

0 commit comments

Comments
 (0)