1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/shells/fish/pkg-deinstall
Jason Helfman b0dbf98576 - remove invalid post-deinstall target
PR:	ports/166093
Submitted by:	jgh@
Approved by:	maintainer, rfarmer@predatorlabs.net
Feature safe:	yes
2012-03-19 16:30:56 +00:00

8 lines
182 B
Bash

#!/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