Skip to content

Commit 378e022

Browse files
authored
sed inplace edit!
1 parent e24e67e commit 378e022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sudo debconf-set-selections debconf/keyboard-configuration >> $LOG 2>&1
5555
sudo cp files/keyboard /etc/default >> $LOG 2>&1
5656
sudo dpkg-reconfigure -fnoninteractive keyboard-configuration >> $LOG 2>&1
5757

58-
sudo sed -e "/^[# ]*$NEWLANG/s/^[# ]*//" /etc/locale.gen >> $LOG 2>&1
58+
sudo sed -i -e "/^[# ]*$NEWLANG/s/^[# ]*//" /etc/locale.gen >> $LOG 2>&1
5959
sudo dpkg-reconfigure -fnoninteractive locales >> $LOG 2>&1
6060
sudo update-locale LANG=$NEWLANG >> $LOG 2>&1
6161

0 commit comments

Comments
 (0)