Skip to content

Commit

Permalink
v7.9
Browse files Browse the repository at this point in the history
+ DietPi-Update | Show (now shorter) live patch descriptions when those are applied and in the interactive menu list
  • Loading branch information
MichaIng authored Nov 19, 2021
1 parent d74b965 commit a48e609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dietpi/dietpi-update
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
for i in "${1:-${!G_LIVE_PATCH[@]}}"
do
[[ ${G_LIVE_PATCH_STATUS[$i]} == 'not applied' ]] || continue
G_DIETPI-NOTIFY 2 "Applying live patch $i"
G_DIETPI-NOTIFY 2 "Applying live patch $i: ${G_LIVE_PATCH_DESC[$i]}"
eval "${G_LIVE_PATCH[$i]}"

# Store new status of live patch to /boot/dietpi/.version
Expand Down Expand Up @@ -437,7 +437,7 @@ Do you wish to continue and update DietPi to v$G_REMOTE_VERSION_CORE.$G_REMOTE_V
G_WHIP_MENU_ARRAY=()
for i in "${!G_LIVE_PATCH[@]}"
do
G_WHIP_MENU_ARRAY+=("$i" "[${G_LIVE_PATCH_STATUS[$i]}]")
G_WHIP_MENU_ARRAY+=("$i" "[${G_LIVE_PATCH_STATUS[$i]}] ${G_LIVE_PATCH_DESC[$i]}")
done

G_WHIP_BUTTON_CANCEL_TEXT='Exit'
Expand Down

2 comments on commit a48e609

@MichaIng

This comment was marked as outdated.

@Joulinar

This comment was marked as outdated.

Please sign in to comment.