larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7d1b8476622084cef94f0014048001aa7b0429ee
parent 8073ba91cf3df622f0f21dbf2d184958dd78f398
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue, 26 May 2020 14:10:46 -0400

Merge pull request #235 from vladdoster/patch-1

use chsh over hard to read sed to set shell
Diffstat:
Mlarbs.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/larbs.sh b/larbs.sh @@ -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