Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
5d64cae0
Commit
5d64cae0
authored
Jan 15, 1999
by
Kurt Zeilenga
Browse files
Import slapd.conf mode change (with typo correction) from -devel.
parent
75358e45
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/Makefile.in
View file @
5d64cae0
...
@@ -117,15 +117,20 @@ install-conf: FORCE
...
@@ -117,15 +117,20 @@ install-conf: FORCE
@
-
$(MKDIR)
$(sysconfdir)
@
-
$(MKDIR)
$(sysconfdir)
@
for
i
in
$(CFFILES)
;
do
\
@
for
i
in
$(CFFILES)
;
do
\
tmpcf
=
/tmp/
$$
i.
$$
;
\
tmpcf
=
/tmp/
$$
i.
$$
;
\
if
test
$$
i
=
slapd.conf
;
then
\
mode
=
600
;
\
else
\
mode
=
644
;
\
fi
;
\
$(SED)
-e
's;%SYSCONFDIR%;
$(sysconfdir)
;'
$(srcdir)
/
$$
i
>
$$
tmpcf
;
\
$(SED)
-e
's;%SYSCONFDIR%;
$(sysconfdir)
;'
$(srcdir)
/
$$
i
>
$$
tmpcf
;
\
if
test
!
-f
$(sysconfdir)
/
$$
i
;
then
\
if
test
!
-f
$(sysconfdir)
/
$$
i
;
then
\
echo
"installing
$$
i in
$(sysconfdir)
"
;
\
echo
"installing
$$
i in
$(sysconfdir)
"
;
\
echo
"
$(INSTALL)
$(INSTALLFLAGS)
-m
644
$$
tmpcf
$(sysconfdir)
/
$$
i"
;
\
echo
"
$(INSTALL)
$(INSTALLFLAGS)
-m
$$
mode
$$
tmpcf
$(sysconfdir)
/
$$
i"
;
\
$(INSTALL)
$(INSTALLFLAGS)
-m
644
$$
tmpcf
$(sysconfdir)
/
$$
i
;
\
$(INSTALL)
$(INSTALLFLAGS)
-m
$$
mode
$$
tmpcf
$(sysconfdir)
/
$$
i
;
\
else
\
else
\
echo
"PRESERVING EXISTING CONFIGURATION FILE
$(sysconfdir)
/
$$
i"
;
\
echo
"PRESERVING EXISTING CONFIGURATION FILE
$(sysconfdir)
/
$$
i"
;
\
fi
;
\
fi
;
\
$(INSTALL)
$(INSTALLFLAGS)
-m
644
$$
tmpcf
$(sysconfdir)
/
$$
i.default
;
\
$(INSTALL)
$(INSTALLFLAGS)
-m
$$
mode
$$
tmpcf
$(sysconfdir)
/
$$
i.default
;
\
$(RM)
-f
$$
tmpcf
;
\
$(RM)
-f
$$
tmpcf
;
\
done
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment