diff options
author | seb <seb> | 2002-06-26 10:29:33 +0000 |
---|---|---|
committer | seb <seb> | 2002-06-26 10:29:33 +0000 |
commit | ffae2d518c48d3d79fda3e02dcb0e79c3fbc1aef (patch) | |
tree | 9e5fcee06244c048489fb5197f01b82baef7be38 /security/ssh | |
parent | 57b861d2e101c9a13115d231f46b57c51e9caa28 (diff) | |
download | pkgsrc-ffae2d518c48d3d79fda3e02dcb0e79c3fbc1aef.tar.gz |
Substitute a couple of `mkdir' by `${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
Diffstat (limited to 'security/ssh')
-rw-r--r-- | security/ssh/PLIST | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh/PLIST b/security/ssh/PLIST index c75792b517c..b6c0fae5559 100644 --- a/security/ssh/PLIST +++ b/security/ssh/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:58 skrll Exp $ +@comment $NetBSD: PLIST,v 1.3 2002/06/26 10:30:01 seb Exp $ bin/ssh bin/ssh1 bin/scp @@ -33,7 +33,7 @@ sbin/sshd sbin/sshd1 share/examples/ssh/ssh_config share/examples/ssh/sshd_config -@exec if [ ! -d @SSH_CONF_DIR@ ]; then echo "Creating directory @SSH_CONF_DIR@ for ssh config files.." ; ${MKDIR} -p @SSH_CONF_DIR@; fi +@exec if [ ! -d @SSH_CONF_DIR@ ]; then echo "Creating directory @SSH_CONF_DIR@ for ssh config files.." ; ${MKDIR} @SSH_CONF_DIR@; fi @exec if [ ! -f @SSH_CONF_DIR@/ssh_config ]; then echo "Installing example ssh_config in @SSH_CONF_DIR@.." ; ${INSTALL} -c -o root -g ${ROOT_GROUP} -m 0644 %D/share/examples/ssh/ssh_config @SSH_CONF_DIR@; fi @exec if [ ! -f @SSH_CONF_DIR@/sshd_config ]; then echo "Installing example sshd_config in @SSH_CONF_DIR@.." ; ${INSTALL} -c -o root -g ${ROOT_GROUP} -m 0644 %D/share/examples/ssh/sshd_config @SSH_CONF_DIR@; fi @exec if [ ! -f @SSH_CONF_DIR@/ssh_host_key ]; then echo "Generating a secret host key in @SSH_CONF_DIR@.." ; %D/bin/ssh-keygen -N "" -f @SSH_CONF_DIR@/ssh_host_key; fi |