Make the @rmtry keyword rootdir friendly

This commit is contained in:
Baptiste Daroussin 2019-08-26 10:41:50 +00:00
parent 397ec52f46
commit b4cb0ac2a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509900

View File

@ -7,5 +7,5 @@ post-deinstall: <<EOD
/*) f="%@" ;;
*) f="%D/%@" ;;
esac
/bin/rm -f $f 2>/dev/null || /usr/bin/true
/bin/rm -f ${PKG_ROOTDIR}/$f 2>/dev/null || /usr/bin/true
EOD