Skip to content

Commit

Permalink
sed inplace edit!
Browse files Browse the repository at this point in the history
  • Loading branch information
psct authored Feb 13, 2020
1 parent e24e67e commit 378e022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sudo debconf-set-selections debconf/keyboard-configuration >> $LOG 2>&1
sudo cp files/keyboard /etc/default >> $LOG 2>&1
sudo dpkg-reconfigure -fnoninteractive keyboard-configuration >> $LOG 2>&1

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

Expand Down

0 comments on commit 378e022

Please sign in to comment.