Browse Source

adjust sed to edit inline due to empty file bug

Casey DeLorme 2 years ago
parent
commit
d52b53b9f0
1 changed files with 1 additions and 1 deletions
  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