diff options
author | asami <asami@FreeBSD.org> | 2000-05-31 07:14:05 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-05-31 07:14:05 +0000 |
commit | efc6a57922400fc770367a0ccf0fb82c180f7203 (patch) | |
tree | 99f195ee587e3d0ad435fda89b85b8bbf40422d8 /www/analog/pkg-plist | |
parent | 06788a11710ec69538b1a9c2b9341d831fe8dbac (diff) | |
download | FreeBSD-ports-efc6a57922400fc770367a0ccf0fb82c180f7203.zip FreeBSD-ports-efc6a57922400fc770367a0ccf0fb82c180f7203.tar.gz |
Remove anolog.cfg iff it's identical to analog.cfg-dist. Remove two
directories.
Found by: obento
Diffstat (limited to 'www/analog/pkg-plist')
-rw-r--r-- | www/analog/pkg-plist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/analog/pkg-plist b/www/analog/pkg-plist index 80c86d8..1d18761 100644 --- a/www/analog/pkg-plist +++ b/www/analog/pkg-plist @@ -1,4 +1,5 @@ bin/analog +@unexec [ -f %D/etc/analog.cfg ] && cmp -s %D/etc/analog.cfg %D/etc/analog.cfg-dist && rm -f %D/etc/analog.cfg etc/analog.cfg-dist @exec if [ ! -f %D/etc/analog.cfg ] ; then cp -p %D/%F %B/analog.cfg; fi lib/analog/lang/am.lng @@ -211,3 +212,5 @@ www/data/images/html2.gif @dirrm lib/analog @dirrm share/doc/analog @dirrm www/data/images +@unexec rmdir %D/www/data 2>/dev/null || true +@unexec rmdir %D/www 2>/dev/null || true |