File: drop-upstart.patch

package info (click to toggle)
kpatch 0.9.11-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,796 kB
  • sloc: ansic: 9,950; sh: 2,677; makefile: 260; asm: 35
file content (16 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Do not install upstart job file

Index: kpatch-0.9.7/contrib/Makefile
===================================================================
--- kpatch-0.9.7.orig/contrib/Makefile
+++ kpatch-0.9.7/contrib/Makefile
@@ -6,9 +6,6 @@ install: all
 	$(INSTALL) -d $(SYSTEMDDIR)
 	$(INSTALL) -m 0644 kpatch.service $(SYSTEMDDIR)
 	sed -i 's~PREFIX~$(PREFIX)~' $(SYSTEMDDIR)/kpatch.service
-	$(INSTALL) -d $(UPSTARTDIR)
-	$(INSTALL) -m 0644 kpatch.conf $(UPSTARTDIR)
-	sed -i 's~PREFIX~$(PREFIX)~' $(UPSTARTDIR)/kpatch.conf
 
 uninstall:
 	$(RM) $(SYSTEMDDIR)/kpatch.service