refresh keys automatically

better zsh regex
This commit is contained in:
Luke Smith 2020-05-18 09:16:05 -04:00
parent fd9c97310a
commit f145e559e4
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -182,7 +182,7 @@ preinstallmsg || error "User exited."
adduserandpass || error "Error adding username and/or password." adduserandpass || error "Error adding username and/or password."
# Refresh Arch keyrings. # 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 dialog --title "LARBS Installation" --infobox "Installing \`basedevel\` and \`git\` for installing other software required for the installation of other programs." 5 70
installpkg curl installpkg curl
@ -230,7 +230,7 @@ git update-index --assume-unchanged "/home/$name/LICENSE"
systembeepoff systembeepoff
# Make zsh the default shell for the user. # 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 UUID must be generated for Artix runit.
dbus-uuidgen > /var/lib/dbus/machine-id dbus-uuidgen > /var/lib/dbus/machine-id