aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-01-01 18:45:51 +0800
committerdemon <demon@FreeBSD.org>2004-01-01 18:45:51 +0800
commit4e4fe2ff81906129834b36119f40606e66e2edb3 (patch)
tree06c2a5e457edc35f1ec15fb7447aa29060491895
parent0421054e41f027128abb576b9a060fa04f915803 (diff)
downloadfreebsd-ports-gnome-4e4fe2ff81906129834b36119f40606e66e2edb3.tar.gz
freebsd-ports-gnome-4e4fe2ff81906129834b36119f40606e66e2edb3.tar.zst
freebsd-ports-gnome-4e4fe2ff81906129834b36119f40606e66e2edb3.zip
Do delete config files if they were not changed after installation.
-rw-r--r--net-im/jabberd/pkg-plist9
-rw-r--r--net/jabberd/pkg-plist9
2 files changed, 18 insertions, 0 deletions
diff --git a/net-im/jabberd/pkg-plist b/net-im/jabberd/pkg-plist
index 571ec6c7b55e..c8d4cceeba9a 100644
--- a/net-im/jabberd/pkg-plist
+++ b/net-im/jabberd/pkg-plist
@@ -4,14 +4,23 @@ bin/resolver
bin/router
bin/s2s
bin/sm
+@unexec if cmp -s %D/etc/jabberd/c2s.xml %D/etc/jabberd/c2s.xml.dist; then rm -f %D/etc/jabberd/c2s.xml; fi
etc/jabberd/c2s.xml.dist
+@unexec if cmp -s %D/etc/jabberd/jabberd.cfg %D/etc/jabberd/jabberd.cfg.dist; then rm -f %D/etc/jabberd/jabberd.cfg; fi
etc/jabberd/jabberd.cfg.dist
+@unexec if cmp -s %D/etc/jabberd/resolver.xml %D/etc/jabberd/resolver.xml.dist; then rm -f %D/etc/jabberd/resolver.xml; fi
etc/jabberd/resolver.xml.dist
+@unexec if cmp -s %D/etc/jabberd/router-users.xml %D/etc/jabberd/router-users.xml.dist; then rm -f %D/etc/jabberd/router-users.xml; fi
etc/jabberd/router-users.xml.dist
+@unexec if cmp -s %D/etc/jabberd/router.xml %D/etc/jabberd/router.xml.dist; then rm -f %D/etc/jabberd/router.xml; fi
etc/jabberd/router.xml.dist
+@unexec if cmp -s %D/etc/jabberd/s2s.xml %D/etc/jabberd/s2s.xml.dist; then rm -f %D/etc/jabberd/s2s.xml; fi
etc/jabberd/s2s.xml.dist
+@unexec if cmp -s %D/etc/jabberd/sm.xml %D/etc/jabberd/sm.xml.dist; then rm -f %D/etc/jabberd/sm.xml; fi
etc/jabberd/sm.xml.dist
+@unexec if cmp -s %D/etc/jabberd/templates/roster.xml %D/etc/jabberd/templates/roster.xml.dist; then rm -f %D/etc/jabberd/templates/roster.xml; fi
etc/jabberd/templates/roster.xml.dist
+@unexec if cmp -s %D/etc/rc.d/jabberd.sh %D/etc/rc.d/jabberd.sh-dist; then rm -f %D/etc/rc.d/jabberd.sh; fi
etc/rc.d/jabberd.sh-dist
@dirrm etc/jabberd/templates
@dirrm etc/jabberd
diff --git a/net/jabberd/pkg-plist b/net/jabberd/pkg-plist
index 571ec6c7b55e..c8d4cceeba9a 100644
--- a/net/jabberd/pkg-plist
+++ b/net/jabberd/pkg-plist
@@ -4,14 +4,23 @@ bin/resolver
bin/router
bin/s2s
bin/sm
+@unexec if cmp -s %D/etc/jabberd/c2s.xml %D/etc/jabberd/c2s.xml.dist; then rm -f %D/etc/jabberd/c2s.xml; fi
etc/jabberd/c2s.xml.dist
+@unexec if cmp -s %D/etc/jabberd/jabberd.cfg %D/etc/jabberd/jabberd.cfg.dist; then rm -f %D/etc/jabberd/jabberd.cfg; fi
etc/jabberd/jabberd.cfg.dist
+@unexec if cmp -s %D/etc/jabberd/resolver.xml %D/etc/jabberd/resolver.xml.dist; then rm -f %D/etc/jabberd/resolver.xml; fi
etc/jabberd/resolver.xml.dist
+@unexec if cmp -s %D/etc/jabberd/router-users.xml %D/etc/jabberd/router-users.xml.dist; then rm -f %D/etc/jabberd/router-users.xml; fi
etc/jabberd/router-users.xml.dist
+@unexec if cmp -s %D/etc/jabberd/router.xml %D/etc/jabberd/router.xml.dist; then rm -f %D/etc/jabberd/router.xml; fi
etc/jabberd/router.xml.dist
+@unexec if cmp -s %D/etc/jabberd/s2s.xml %D/etc/jabberd/s2s.xml.dist; then rm -f %D/etc/jabberd/s2s.xml; fi
etc/jabberd/s2s.xml.dist
+@unexec if cmp -s %D/etc/jabberd/sm.xml %D/etc/jabberd/sm.xml.dist; then rm -f %D/etc/jabberd/sm.xml; fi
etc/jabberd/sm.xml.dist
+@unexec if cmp -s %D/etc/jabberd/templates/roster.xml %D/etc/jabberd/templates/roster.xml.dist; then rm -f %D/etc/jabberd/templates/roster.xml; fi
etc/jabberd/templates/roster.xml.dist
+@unexec if cmp -s %D/etc/rc.d/jabberd.sh %D/etc/rc.d/jabberd.sh-dist; then rm -f %D/etc/rc.d/jabberd.sh; fi
etc/rc.d/jabberd.sh-dist
@dirrm etc/jabberd/templates
@dirrm etc/jabberd