Skip to content

Commit 6fd00ae

Browse files
authored
Make dash the default #!/bin/sh symlink.
1 parent 22c637b commit 6fd00ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

static/larbs.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ preinstallmsg || error "User exited."
275275
refreshkeys ||
276276
error "Error automatically refreshing Arch keyring. Consider doing so manually."
277277

278-
for x in curl ca-certificates base-devel git ntp zsh; do
278+
for x in curl ca-certificates base-devel git ntp zsh dash; do
279279
whiptail --title "LARBS Installation" \
280280
--infobox "Installing \`$x\` which is required to install and configure other programs." 8 70
281281
installpkg "$x"
@@ -330,6 +330,9 @@ sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/"
330330
sudo -u "$name" mkdir -p "/home/$name/.config/abook/"
331331
sudo -u "$name" mkdir -p "/home/$name/.config/mpd/playlists/"
332332

333+
# Make dash the default #!/bin/sh symlink.
334+
ln -sfT /bin/dash /bin/sh >/dev/null 2>&1
335+
333336
# dbus UUID must be generated for Artix runit.
334337
dbus-uuidgen >/var/lib/dbus/machine-id
335338

0 commit comments

Comments
 (0)