From 653411a662f7da88c7a0594f4d5d2cb5879fdd51 Mon Sep 17 00:00:00 2001 From: kris Date: Tue, 13 Apr 2004 23:14:01 +0000 Subject: Correct config file handling and remove directories --- www/sarg/pkg-plist | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/sarg/pkg-plist b/www/sarg/pkg-plist index b1a7f7f..9f30edc 100644 --- a/www/sarg/pkg-plist +++ b/www/sarg/pkg-plist @@ -1,6 +1,6 @@ bin/sarg -@unexec if cmp -s %D/etc/sarg/sarg.conf %D/etc/sarg/sarg.conf.default; then rm -f %D/etc/sarg.conf; fi -@exec [ ! -f %B/sarg.conf ] || cp -p %B/sarg.conf.default %B/sarg.conf +@unexec if cmp -s %D/etc/sarg/sarg.conf %D/etc/sarg/sarg.conf.default; then rm -f %D/etc/sarg/sarg.conf; fi +@exec [ ! -f %B/sarg.conf ] || cp -p %B/sarg/sarg.conf.default %B/sarg/sarg.conf etc/sarg/sarg.conf.default etc/sarg/exclude_codes etc/sarg/languages/Catalan @@ -26,3 +26,4 @@ etc/sarg/languages/Turkish etc/sarg/languages/Ukrainian_windows1251 etc/sarg/languages/.new @dirrm etc/sarg/languages +@dirrm etc/sarg -- cgit v1.1