summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-18 09:16:05 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-18 09:16:05 -0400
commitf145e559e4e4e4c1323c1c8a349a645e5eed7002 (patch)
tree1452f72137b26ce48bf30420dab0d2d047207019
parentfd9c97310a46fdd56cd5407a9a2df7993bc529e4 (diff)
refresh keys automatically
better zsh regex
-rw-r--r--larbs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/larbs.sh b/larbs.sh
index 459e3f9..61c1bd7 100644
--- a/larbs.sh
+++ b/larbs.sh
@@ -182,7 +182,7 @@ preinstallmsg || error "User exited."
adduserandpass || error "Error adding username and/or password."
# Refresh Arch keyrings.
-# refreshkeys || error "Error automatically refreshing Arch keyring. Consider doing so manually."
+refreshkeys || error "Error automatically refreshing Arch keyring. Consider doing so manually."
dialog --title "LARBS Installation" --infobox "Installing \`basedevel\` and \`git\` for installing other software required for the installation of other programs." 5 70
installpkg curl
@@ -230,7 +230,7 @@ git update-index --assume-unchanged "/home/$name/LICENSE"
systembeepoff
# Make zsh the default shell for the user.
-sed -i "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd
+sed -i "s/^$name:\(.*\):\/bin\/\S*/$name:\1:\/bin\/zsh/" /etc/passwd
# dbus UUID must be generated for Artix runit.
dbus-uuidgen > /var/lib/dbus/machine-id