diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 09:29:46 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 09:29:46 +0800 |
commit | e80f0953d18006170971019cc3936a2de46081ab (patch) | |
tree | 2ced76b22a5a33be9fc8a463ef1df3c21eb26234 /deskutils/sugarcrm | |
parent | f70b9e5e41d04219d385f0493662aacb199e31cc (diff) | |
download | freebsd-ports-gnome-e80f0953d18006170971019cc3936a2de46081ab.tar.gz freebsd-ports-gnome-e80f0953d18006170971019cc3936a2de46081ab.tar.zst freebsd-ports-gnome-e80f0953d18006170971019cc3936a2de46081ab.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'deskutils/sugarcrm')
-rw-r--r-- | deskutils/sugarcrm/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deskutils/sugarcrm/pkg-plist b/deskutils/sugarcrm/pkg-plist index 15db15a1b5ab..5a5d90ed0f5a 100644 --- a/deskutils/sugarcrm/pkg-plist +++ b/deskutils/sugarcrm/pkg-plist @@ -1877,8 +1877,8 @@ @dirrm %%SUGARCRMDIR%%/cache/layout @dirrm %%SUGARCRMDIR%%/cache/pdf @dirrm %%SUGARCRMDIR%%/cache/upload -@unexec rmdir %D/%%SUGARCRMDIR%%/cache/xml 2>/dev/null || true -@unexec rmdir %D/%%SUGARCRMDIR%%/cache 2>/dev/null || true +@dirrmtry %%SUGARCRMDIR%%/cache/xml +@dirrmtry %%SUGARCRMDIR%%/cache @unexec rmdir %D/%%SUGARCRMDIR%% 2>/dev/null ||( echo "===> There are files/directories remaining under %D/%%SUGARCRMDIR%%. If you wish to deinstall sugarcrm completely, inspect this directory for any files you may want to keep and then remove it. Deinstall process kept these files/directories intact:" | fmt && for i in $(find %D/%%SUGARCRMDIR%%); do echo " - $i"; done) %%PORTDOCS%%%%DOCSDIR%%/INSTALLATION.txt %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt |