Explorar o código

adjust sed to edit inline due to empty file bug

Casey DeLorme %!s(int64=2) %!d(string=hai) anos
pai
achega
d52b53b9f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch.sh

+ 1 - 1
arch.sh

@@ -86,7 +86,7 @@ fi
 # conditionally install laptop packages
 if [ -e /sys/class/power_supply/BAT0 ]; then
 	PACKAGES="$PACKAGES xf86-input-synaptics acpid acpilight tlp"
-	sed "s/panel_items = LTSC/panel_items = LTSBC/g" /srv/arch-desktop/install/etc/skel/.config/tint2/tint2rc > /srv/arch-desktop/install/etc/skel/.config/tint2/tint2rc
+	sed -i "s/panel_items = LTSC/panel_items = LTSBC/g" /srv/arch-desktop/install/etc/skel/.config/tint2/tint2rc
 fi
 
 # install all packages