summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authordholland <dholland>2014-10-16 04:51:08 +0000
committerdholland <dholland>2014-10-16 04:51:08 +0000
commit669e3b64343ee466ea5594c287ed5b50fe8f2e2d (patch)
treed5d77ddc1aaf2fe00acafee73bfec1bef9e725db /security
parent95d5c777805a1a684d7aab15adcda5cf27713480 (diff)
downloadpkgsrc-669e3b64343ee466ea5594c287ed5b50fe8f2e2d.tar.gz
Don't hand-process $required_dirs and $required_files. This is provided
by the infrastructure. Tangentially related to PR 48555.
Diffstat (limited to 'security')
-rw-r--r--security/dirmngr/files/dirmngr.sh18
1 files changed, 1 insertions, 17 deletions
diff --git a/security/dirmngr/files/dirmngr.sh b/security/dirmngr/files/dirmngr.sh
index 364a071e75d..06076990701 100644
--- a/security/dirmngr/files/dirmngr.sh
+++ b/security/dirmngr/files/dirmngr.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: dirmngr.sh,v 1.4 2012/04/12 08:21:54 wiz Exp $
+# $NetBSD: dirmngr.sh,v 1.5 2014/10/16 04:51:08 dholland Exp $
#
# PROVIDE: dirmngr
# REQUIRE: DAEMON
@@ -37,22 +37,6 @@ dirmngr_precmd()
dirmngr_start()
{
- for _f in $required_dirs; do
- if [ ! -d "${_f}/." ]; then
- warn "${_f} is not a directory."
- if [ -z $rc_force ]; then
- return 1
- fi
- fi
- done
- for _f in $required_files; do
- if [ ! -r "${_f}" ]; then
- warn "${_f} is not readable."
- if [ -z $rc_force ]; then
- return 1
- fi
- fi
- done
eval `${dirmngr_command} ${rc_flags}`
}