Quellcode durchsuchen

adjust sed to edit inline due to empty file bug

Casey DeLorme vor 2 Jahren
Ursprung
Commit
d52b53b9f0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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