Pārlūkot izejas kodu

adjust sed to edit inline due to empty file bug

Casey DeLorme 2 gadi atpakaļ
vecāks
revīzija
d52b53b9f0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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