- Correct massh.conf handling

Reported by:	pointyhat
This commit is contained in:
Pav Lucistnik 2011-09-06 23:18:21 +00:00
parent 8b34ae3a81
commit f6b8d196e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281328
2 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= massh
PORTVERSION= 2.0.57
PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= http://m.a.tt/er/
DISTNAME= massh

View file

@ -1,6 +1,8 @@
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