Skip to content

Commit

Permalink
Live patch 0 v9.9 (#7322)
Browse files Browse the repository at this point in the history
- Live patch 0 | Fix Sonarr v4 permissions for updater
  • Loading branch information
MichaIng authored Dec 25, 2024
1 parent c9eda88 commit fb67ff8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .update/version
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ G_MIN_DEBIAN=6
# Alternative Git branch to automatically migrate to when Debian version is too low
G_OLD_DEBIAN_BRANCH='8'
# Live patches
G_LIVE_PATCH_DESC=()
G_LIVE_PATCH_COND=()
G_LIVE_PATCH=()
G_LIVE_PATCH_DESC=('Fix Sonarr v4 permissions for updater. Only needed if you plan to install or migrate to Sonarr v4 via dietpi-software.')
G_LIVE_PATCH_COND=('grep -q '\''^ReadWritePaths=-/usr/lib/sonarr'\'' /boot/dietpi/dietpi-software')
# shellcheck disable=SC2016
G_LIVE_PATCH=('sed -i '\''s|^ReadWritePaths=-/usr/lib/sonarr|ReadWritePaths=-$install_dir|'\'' /boot/dietpi/dietpi-software')

0 comments on commit fb67ff8

Please sign in to comment.