Skip to content

Commit

Permalink
Merge pull request LukeSmithxyz#235 from vladdoster/patch-1
Browse files Browse the repository at this point in the history
use chsh over hard to read sed to set shell
  • Loading branch information
LukeSmithxyz authored May 26, 2020
2 parents 8073ba9 + 4115ca5 commit 7d1b847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion larbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ git update-index --assume-unchanged "/home/$name/LICENSE"
systembeepoff

# Make zsh the default shell for the user.
sed -i "s/^$name:\(.*\):\/bin\/\S*/$name:\1:\/bin\/zsh/" /etc/passwd
chsh -s /bin/zsh $name >/dev/null 2>&1

# dbus UUID must be generated for Artix runit.
dbus-uuidgen > /var/lib/dbus/machine-id
Expand Down

0 comments on commit 7d1b847

Please sign in to comment.