[arch-commits] Commit in zsh/trunk (PKGBUILD zsh.install)
Pierre Schmitz
pierre at nymeria.archlinux.org
Tue Aug 13 20:12:38 UTC 2013
Date: Tuesday, August 13, 2013 @ 22:12:38
Author: pierre
Revision: 192544
Add /bin/zsh to /etc/shell for compatibility
Modified:
zsh/trunk/PKGBUILD
zsh/trunk/zsh.install
-------------+
PKGBUILD | 2 +-
zsh.install | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-13 19:31:25 UTC (rev 192543)
+++ PKGBUILD 2013-08-13 20:12:38 UTC (rev 192544)
@@ -3,7 +3,7 @@
pkgname=zsh
pkgver=5.0.2
-pkgrel=2
+pkgrel=3
pkgdesc='A very advanced and programmable command interpreter (shell) for UNIX'
arch=('i686' 'x86_64')
url='http://www.zsh.org/'
Modified: zsh.install
===================================================================
--- zsh.install 2013-08-13 19:31:25 UTC (rev 192543)
+++ zsh.install 2013-08-13 20:12:38 UTC (rev 192544)
@@ -1,5 +1,6 @@
post_install() {
- grep -q '/usr/bin/zsh' etc/shells || echo '/usr/bin/zsh' >> etc/shells
+ grep -qe '^/bin/zsh$' etc/shells || echo '/bin/zsh' >> etc/shells
+ grep -qe '^/usr/bin/zsh$' etc/shells || echo '/usr/bin/zsh' >> etc/shells
}
post_upgrade() {
More information about the arch-commits
mailing list