1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- 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
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374430
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