File: no-files-in-var-log.patch

package info (click to toggle)
atop 2.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,176 kB
  • sloc: ansic: 34,491; python: 257; sh: 243; makefile: 189
file content (23 lines) | stat: -rw-r--r-- 737 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: don't create dummy files in log dir on package build

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

diff --git a/Makefile b/Makefile
index 5a57d8d..6b7817d 100644
--- a/Makefile
+++ b/Makefile
@@ -101,8 +101,6 @@ sysvinstall:	genericinstall
 		cp atop.cronsysv  $(DESTDIR)$(CRNPATH)/atop
 		cp atop.daily     $(DESTDIR)$(SCRPATH)
 		chmod 0711        $(DESTDIR)$(SCRPATH)/atop.daily
-		touch             $(DESTDIR)$(LOGPATH)/dummy_before
-		touch             $(DESTDIR)$(LOGPATH)/dummy_after
 		#
 		if [   -d $(DESTDIR)$(PMPATH1) ]; 			\
 		then	cp 45atoppm $(DESTDIR)$(PMPATH1); 		\