David Runge pushed to branch main at Arch Linux / Packaging / Packages / bash


Commits:
20244daa by David Runge at 2023-09-03T16:56:16+02:00
Add /bin and /usr/bin locations for sh and bash for /etc/shells 
(https://bugs.archlinux.org/task/33677)

- - - - -


1 changed file:

- bash.install


Changes:

=====================================
bash.install
=====================================
@@ -1,5 +1,9 @@
 post_upgrade() {
+       grep -qe '^/bin/bash$' etc/shells || echo '/bin/bash' >> etc/shells
+       grep -qe '^/usr/bin/bash$' etc/shells || echo '/usr/bin/bash' >> 
etc/shells
        grep -qe '^/bin/rbash$' etc/shells || echo '/bin/rbash' >> etc/shells
        grep -qe '^/usr/bin/rbash$' etc/shells || echo '/usr/bin/rbash' >> 
etc/shells
+       grep -qe '^/bin/sh$' etc/shells || echo '/bin/sh' >> etc/shells
+       grep -qe '^/usr/bin/sh$' etc/shells || echo '/usr/bin/sh' >> etc/shells
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bash/-/commit/20244daa4cca1e08f0d01db1bf68908176a5aa7e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bash/-/commit/20244daa4cca1e08f0d01db1bf68908176a5aa7e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to