From a6407734ba226c5938e2c0009e87444b74ae9a73 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 31 May 2000 07:14:05 +0000 Subject: Remove anolog.cfg iff it's identical to analog.cfg-dist. Remove two directories. Found by: obento --- www/analog/pkg-plist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/analog/pkg-plist b/www/analog/pkg-plist index 80c86d87345c..1d187610b83c 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 -- cgit v1.2.3