Date: Sunday, November 17, 2019 @ 00:45:21 Author: ffy00 Revision: 529852
fix missing /bin/fish entry from /etc/shells (3.0.2-3) Modified: fish/trunk/PKGBUILD fish/trunk/fish.install --------------+ PKGBUILD | 2 +- fish.install | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-17 00:01:53 UTC (rev 529851) +++ PKGBUILD 2019-11-17 00:45:21 UTC (rev 529852) @@ -7,7 +7,7 @@ pkgname=fish pkgver=3.0.2 -pkgrel=2 +pkgrel=3 pkgdesc='Smart and user friendly shell intended mostly for interactive use' url='https://fishshell.com/' arch=('x86_64') Modified: fish.install =================================================================== --- fish.install 2019-11-17 00:01:53 UTC (rev 529851) +++ fish.install 2019-11-17 00:45:21 UTC (rev 529852) @@ -1,5 +1,6 @@ post_install() { grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells + grep -qe '^/bin/fish$' etc/shells || echo '/bin/fish' >> etc/shells } post_upgrade() { @@ -7,7 +8,7 @@ } pre_remove() { - sed -ri '\|^/usr/bin/fish$|d' etc/shells + sed -ri -e '\|^/usr/bin/fish$|d' -e '\|^/bin/fish$|d' etc/shells } # vim:set ts=2 sw=2 et: