diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-28 19:49:18 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-28 19:49:18 +0000 |
commit | 8f8d2bdf2a2a763a1c3b9cad5adafa8cd1cca7de (patch) | |
tree | 790bc6932479fae43ad7692380e9cc0701a3cdb4 /www/squid27/pkg-deinstall | |
parent | ed99d8083725633a6cdfcee7457e05578121567c (diff) | |
download | ports-8f8d2bdf2a2a763a1c3b9cad5adafa8cd1cca7de.tar.gz ports-8f8d2bdf2a2a763a1c3b9cad5adafa8cd1cca7de.zip |
- Fix plist
- Bump PORTREVISION
- Clean up pkg-deinstall:
+ remove an unnecessary variable
+ replace rmdir -p with two distinct rmdir calls since we
do not want to delete $PKG_PREFIX too if it happens to be empty
PR: ports/65918
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=107856
Diffstat (limited to 'www/squid27/pkg-deinstall')
-rw-r--r-- | www/squid27/pkg-deinstall | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/squid27/pkg-deinstall b/www/squid27/pkg-deinstall index 7de2277d4352..42ccaecce0b6 100644 --- a/www/squid27/pkg-deinstall +++ b/www/squid27/pkg-deinstall @@ -4,7 +4,6 @@ # PATH=/bin:/usr/bin:/usr/sbin -pkgname=$1 case $2 in DEINSTALL) @@ -16,10 +15,11 @@ DEINSTALL) POST-DEINSTALL) rmdir ${PKG_PREFIX}/etc/squid 2>/dev/null rmdir ${PKG_PREFIX}/squid/cache 2>/dev/null - rmdir -p ${PKG_PREFIX}/squid/logs 2>/dev/null - echo "===> post-deinstallation information for ${pkgname}" + rmdir ${PKG_PREFIX}/squid/logs 2>/dev/null + rmdir ${PKG_PREFIX}/squid 2>/dev/null + echo "===> post-deinstallation information for $1" echo "" - echo " Please note that ${pkgname} was not completely removed" + echo " Please note that $1 was not completely removed" echo " from this system." echo "" echo " The cache and log directories, squid's user account," |