freebsd-ports/security/massh/pkg-plist
Pav Lucistnik f6b8d196e9 - Correct massh.conf handling
Reported by:	pointyhat
2011-09-06 23:18:21 +00:00

13 lines
439 B
Text

bin/massh
lib/libmassh.sh
@unexec if cmp -s %D/etc/massh.conf.example %D/etc/massh.conf; then rm -f %D/etc/massh.conf; fi
etc/massh.conf.example
@exec if [ ! -f $D/etc/massh.conf ] ; then cp -p %D/%F %B/massh.conf; fi
@exec mkdir -p %%MASSHDIR%%/pull
@exec mkdir -p %%MASSHDIR%%/push
@exec mkdir -p %%MASSHDIR%%/scripts
@cwd /
@dirrmtry %%MASSHDIR%%/pull
@dirrmtry %%MASSHDIR%%/push
@dirrmtry %%MASSHDIR%%/scripts
@dirrmtry %%MASSHDIR%%