Skip to content

Commit

Permalink
Live patch 1 v7.4 (#4621)
Browse files Browse the repository at this point in the history
+ DietPi-Live_patches | Fix phpSysInfo install: #4619
  • Loading branch information
MichaIng committed Aug 4, 2021
1 parent 6c1a31f commit 2c52e50
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .update/version
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ G_MIN_DEBIAN=4
# Alternative Git branch to automatically migrate to when Debian version is too low
G_OLD_DEBIAN_BRANCH='jessie-support'
# Live patches
G_LIVE_PATCH_DESC=('This patch fixes the Blynk server install option. You may ignore it if you do not plan to install the Blynk home server.\n\nMore info: https://github.com/MichaIng/DietPi/pull/4594')
G_LIVE_PATCH_COND=("[[ -w '/boot/dietpi/dietpi-software' ]] && grep -q 'blynkkk' /boot/dietpi/dietpi-software")
G_LIVE_PATCH=("sed -i 's/blynkkk/Peterkn2001/' /boot/dietpi/dietpi-software")
G_LIVE_PATCH_DESC=(
[0]='This patch fixes the Blynk server install option. You may ignore it if you do not plan to install the Blynk home server.\n\nMore info: https://github.com/MichaIng/DietPi/pull/4594'
[1]='This patch fixes the phpSysInfo install option. You may ignore it if you do not plan to install phpSysInfo.\n\nMore info: https://github.com/MichaIng/DietPi/pull/4619'
)
G_LIVE_PATCH_COND=(
[0]="[[ -w '/boot/dietpi/dietpi-software' ]] && grep -q 'blynkkk' /boot/dietpi/dietpi-software"
[1]="[[ -w '/boot/dietpi/dietpi-software' ]] && grep -q 'phpsysinfo-master' /boot/dietpi/dietpi-software"
)
G_LIVE_PATCH=(
[0]="sed -i 's/blynkkk/Peterkn2001/' /boot/dietpi/dietpi-software"
[1]="sed -Ei 's#phpsysinfo(-|/archive/)master#phpsysinfo\1main#' /boot/dietpi/dietpi-software"
)

0 comments on commit 2c52e50

Please sign in to comment.