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

package info (click to toggle)
atop 2.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,324 kB
  • sloc: ansic: 35,620; python: 257; sh: 248; makefile: 193
file content (23 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (2)
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 f8077ce..a56aeff 100644
--- a/Makefile
+++ b/Makefile
@@ -109,8 +109,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); 		\