Blob Blame History Raw
# Makefile: Fix installation of restart.d/ scripts.
# Closes: #851866

diff --git a/Makefile b/Makefile
index 0e3855a..430958d 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ install: all
 	mkdir -p "$(DESTDIR)/etc/needrestart/notify.d"
 	cp ex/notify.d/* "$(DESTDIR)/etc/needrestart/notify.d/"
 	mkdir -p "$(DESTDIR)/etc/needrestart/restart.d"
-	cp ex/notify.d/* "$(DESTDIR)/etc/needrestart/restart.d/"
+	cp ex/restart.d/* "$(DESTDIR)/etc/needrestart/restart.d/"
 	
 	which apt-get > /dev/null && \
 	    mkdir -p "$(DESTDIR)/etc/apt/apt.conf.d" && cp ex/apt/needrestart-apt_d "$(DESTDIR)/etc/apt/apt.conf.d/99needrestart" && \