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
commit0aed07b0e3fa5a671c04ee71bdd521bf7c468a2f (patch)
treed5d77ddc1aaf2fe00acafee73bfec1bef9e725db /security
parent0019825a8d20915ef49be71cc18f1d4946cb1e09 (diff)
downloadpkgsrc-0aed07b0e3fa5a671c04ee71bdd521bf7c468a2f.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}`
}