aboutsummaryrefslogtreecommitdiffstats
path: root/shells/ambit
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-06-12 00:38:43 +0800
committerbapt <bapt@FreeBSD.org>2014-06-12 00:38:43 +0800
commit89ff576f742072c81e4ef1cde903206e38a5a078 (patch)
tree3b58929e55e9bcd9717dcb0d63ed4bdab976eb4b /shells/ambit
parent2327e19176e9850125d37f8aee4a6bd38f275150 (diff)
downloadfreebsd-ports-gnome-89ff576f742072c81e4ef1cde903206e38a5a078.tar.gz
freebsd-ports-gnome-89ff576f742072c81e4ef1cde903206e38a5a078.tar.zst
freebsd-ports-gnome-89ff576f742072c81e4ef1cde903206e38a5a078.zip
Use @sample
Diffstat (limited to 'shells/ambit')
-rw-r--r--shells/ambit/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/shells/ambit/pkg-plist b/shells/ambit/pkg-plist
index febd64c9aabc..e6911fff6033 100644
--- a/shells/ambit/pkg-plist
+++ b/shells/ambit/pkg-plist
@@ -1,9 +1,7 @@
bin/ambit
lib/libambit.sh
man/man1/ambit.1.gz
-@unexec if cmp -s %D/etc/ambit.conf.sample %D/etc/ambit.conf; then rm -f %D/etc/ambit.conf; fi
-etc/ambit.conf.sample
-@exec if [ ! -f %D/etc/ambit.conf ] ; then cp -p %D/%F %B/ambit.conf; fi
+@sample etc/ambit.conf.sample
@exec mkdir -p %%AMBITDIR%%/hosts
@cwd /
@dirrmtry %%AMBITDIR%%/hosts