dash is now /bin/sh

master
TiynGER 5 years ago
parent c9cbbb9893
commit a61acd9080

@ -14,11 +14,13 @@ while getopts ":a:r:b:p:h" o; do case "${o}" in
*) printf "Invalid option: -%s\\n" "$OPTARG" && exit ;;
esac done
[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/tiynger/.dotfiles.git"
[ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/tiynger/LARBS/master/progs.csv"
[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/tiyn/.dotfiles.git"
[ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/tiyn/LARBS/master/resources/progs.csv"
[ -z "$aurhelper" ] && aurhelper="yay"
[ -z "$repobranch" ] && repobranch="master"
bashhook="https://github.com/tiyn/LARBS/master/resources/bash-update.hook"
### FUNCTIONS ###
distro="arch"
@ -223,6 +225,10 @@ dbus-uuidgen > /var/lib/dbus/machine-id
# Let LARBS know the WM it's supposed to run.
chown -R "$name":wheel "/home/$name/.local"
# Set dash to /bin/sh
ln -sfT /bin/dash /bin/sh
curl $bashhook > /usr/share/libalpm/hooks/bash-update.hook
# This line, overwriting the `newperms` command above will allow the user to run
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.
newperms "%wheel ALL=(ALL) ALL #LARBS

@ -0,0 +1,11 @@
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = bash
[Action]
Description = Re-pointing /bin/sh symlink to dash...
When = PostTransaction
Exec = /usr/bin/ln -sfT dash /usr/bin/sh
Depends = dash

@ -52,6 +52,7 @@ G,https://github.com/tiynger/slock.git,is the screen lock.,,
,acpi,is an advanced Configuration and Power Interface.,,
,cmatrix,adding the hacker-aura.,,
,ctags,is adding scan functionality to files opened in vim using tagbar.,,
,dash,is a lightweight, fast, POSIX compliant shell.,,
,docx2txt,enables .docx file previews in vifm.,,
,firefox,is the browser to rule them all.,,
A,htop-vim-git,provides system usage information and displays processes.,,
Can't render this file because it has a wrong number of fields in line 55.
Loading…
Cancel
Save