From 75815abd6ca9c6562c354eca7f314a1618678ad9 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 5 Jan 2008 20:54:34 +0000 Subject: [PATCH] Fix installing pam files --- src/rc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/Makefile b/src/rc/Makefile index 55ad8f78..a96b0e49 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -59,6 +59,6 @@ install: $(INSTALL) -d $(DESTDIR)/$(LIBNAME)/$(PROG)/sbin for x in $(RC_SBINLINKS); do ln -fs ${BINDIR}/${PROG} $(DESTDIR)/$(LIBNAME)/$(PROG)/sbin/$$x; done if test "$(PAM)" = pam; then \ - ${INSTALL} -d ${PAMDIR}; \ + ${INSTALL} -d ${DESTDIR}${PAMDIR}; \ ${INSTALL} -m ${PAMMODE} start-stop-daemon.pam $(DESTDIR)${PAMDIR}/start-stop-daemon; \ fi