Use @sample for config file installation

This commit is contained in:
Pawel Pekala 2014-10-13 22:30:45 +00:00
parent c9af85b91c
commit 0bd2ff635a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370826

View File

@ -1,5 +1,3 @@
bin/lookat
@unexec if cmp -s %D/etc/lookat.conf.sample %D/etc/lookat.conf; then rm -f %D/etc/lookat.conf; fi
etc/lookat.conf.sample
@exec if [ ! -f %D/etc/lookat.conf ] ; then cp -p %D/%F %B/lookat.conf; fi
@sample etc/lookat.conf.sample
man/man1/lookat.1.gz