Skip to content

Commit

Permalink
v9.1
Browse files Browse the repository at this point in the history
- DietPi-Patches | Fix GMediaRender patch
  • Loading branch information
MichaIng committed Feb 8, 2024
1 parent a0d3107 commit e27d921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -1596,10 +1596,10 @@ Patch_9_1()
if [[ -f '/boot/dietpi/.installed' ]]
then
# GMediaRender: https://dietpi.com/forum/t/gmediarender-default-args-on-allo-image-for-raspberry-pi/19205
if grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[163\]=2' /boot/dietpi/.installed && grep -q ' -f -I ' /etc/default/gmediarender
if grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[163\]=2' /boot/dietpi/.installed && grep -q ' -f -I ' /etc/default/gmediarender
then
G_DIETPI-NOTIFY 2 'Fixing default GMediaRender command arguments'
G_EXEC sed -i "s/ -f -I / -f $HOSTNAME -I /" /etc/default/gmediarender
G_EXEC sed -i "s/ -f -I / -f $HOSTNAME -I /" /etc/default/gmediarender
fi
fi
}
Expand Down

0 comments on commit e27d921

Please sign in to comment.