c4526308ea
Note that this allows to control when it is executed (always in post-installation) This makes @rmtry accept both absolute path and relative path (to latest prefix/cwd) While here now that it is not used, remove the old PLIST_REINPLACE macro Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D713
11 lines
183 B
Text
11 lines
183 B
Text
# $FreeBSD$
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
actions: []
|
|
post-deinstall: <<EOD
|
|
case "%@" in
|
|
/*) f="%@" ;;
|
|
*) f="%D/%@" ;;
|
|
esac
|
|
/bin/rm -f $f 2>/dev/null || /usr/bin/true
|
|
EOD
|