File: dh_installinit.patch

package info (click to toggle)
atop 2.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,328 kB
  • sloc: ansic: 35,620; python: 257; sh: 248; makefile: 193
file content (23 lines) | stat: -rw-r--r-- 706 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Marc Haber <mh+debian-packages@zugschlus.de>
Date: Sun, 25 May 2025 20:54:51 +0200
Subject: do not install init scripts directly

Forwarded: not-needed
Last-Update: 2016-08-07
---
 Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile b/Makefile
index 051c714..f8077ce 100644
--- a/Makefile
+++ b/Makefile
@@ -106,8 +106,6 @@ sysvinstall:	genericinstall
 		if [ ! -d $(DESTDIR)$(ROTPATH) ]; 			\
 		then	mkdir -p $(DESTDIR)$(ROTPATH);	fi
 		#
-		cp atop.init      $(DESTDIR)$(INIPATH)/atop
-		cp atopacct.init  $(DESTDIR)$(INIPATH)/atopacct
 		cp atop.cronsysv  $(DESTDIR)$(CRNPATH)/atop
 		cp atop.daily     $(DESTDIR)$(SCRPATH)
 		chmod 0711        $(DESTDIR)$(SCRPATH)/atop.daily