- drop redundant and erroneous cleanup of shell listing in /etc/shells

PR:		195487
Submitted by:	braakvaak@aol.com
Approved by:	freebsd.users@gmail.com (maintainer)
This commit is contained in:
Jason Helfman 2014-12-09 21:30:14 +00:00
parent 0796bef5ec
commit 626019d5ef
2 changed files with 1 additions and 8 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= fish
PORTVERSION= 2.1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= http://fishshell.com/files/${PORTVERSION}/

View file

@ -1,7 +0,0 @@
#!/bin/sh
if [ "$2" = "DEINSTALL" ]; then
/bin/cp /etc/shells /etc/shells.bak
/usr/bin/grep -v '/usr/local/bin/fish' /etc/shells.bak >> /etc/shells
/bin/rm -f /etc/shells.bak
fi