1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/massh/pkg-plist
Pav Lucistnik f6b8d196e9 - Correct massh.conf handling
Reported by:	pointyhat
2011-09-06 23:18:21 +00:00

14 lines
439 B
Plaintext

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%%