FreeBSD Bugzilla – Attachment 122837 Details for
Bug 166093
[PATCH] shells/fish: drop unknown post-deinstall target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fish-1.23.1_8.patch
fish-1.23.1_8.patch (text/plain), 1.07 KB, created by
Jason Helfman
on 2012-03-14 16:30:01 UTC
(
hide
)
Description:
fish-1.23.1_8.patch
Filename:
MIME Type:
Creator:
Jason Helfman
Created:
2012-03-14 16:30:01 UTC
Size:
1.07 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/shells/fish/Makefile,v >retrieving revision 1.17 >diff -u -r1.17 Makefile >--- Makefile 23 Sep 2011 22:25:21 -0000 1.17 >+++ Makefile 14 Mar 2012 16:25:59 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= fish > PORTVERSION= 1.23.1 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= shells > MASTER_SITES= SF > >@@ -78,10 +78,4 @@ > ${ECHO_CMD} '${PREFIX}/bin/${PORTNAME}' >> /etc/shells; \ > fi > >-post-deinstall: >- ${CP} /etc/shells /etc/shells.bak >- ${GREP} -v '${PREFIX}/bin/${PORTNAME}' /etc/shells.bak \ >- >> /etc/shells >- ${RM} -f /etc/shells.bak >- > .include <bsd.port.post.mk> >Index: pkg-deinstall >=================================================================== >RCS file: pkg-deinstall >diff -N pkg-deinstall >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ pkg-deinstall 14 Mar 2012 16:25:59 -0000 >@@ -0,0 +1,7 @@ >+#!/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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 166093
: 122837