[2/5] pakfire: Remove creation of pakfire.log that is never used

Message ID 20250628134853.3312365-2-adolf.belka@ipfire.org
State Staged
Commit 2a39f4af1a0a2641c9a10fc96183a9d245c386a1
Headers
Series [1/5] functions.pl: pakfir cleanup |

Commit Message

Adolf Belka June 28, 2025, 1:48 p.m. UTC
  Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/pakfire | 1 -
 lfs/pakfire                     | 5 +----
 2 files changed, 1 insertion(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/pakfire b/config/rootfiles/common/pakfire
index b2a10cf37..8fe0f09a4 100644
--- a/config/rootfiles/common/pakfire
+++ b/config/rootfiles/common/pakfire
@@ -17,4 +17,3 @@  opt/pakfire/pakfire
 opt/pakfire/tmp
 var/cache/pakfire
 var/log/pakfire
-var/log/pakfire.log
diff --git a/lfs/pakfire b/lfs/pakfire
index da7a648c8..2e75f7f68 100644
--- a/lfs/pakfire
+++ b/lfs/pakfire
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -58,9 +58,6 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		> $(DIR_APP)/etc/pakfire.conf
 	chown root.root $(DIR_APP) -R
 	chmod 755 $(DIR_APP)/pakfire
-	touch /var/log/pakfire.log
-	chown root.nobody /var/log/pakfire.log
-	chmod 644 /var/log/pakfire.log
 	ln -sf ../../var/log/pakfire /opt/pakfire/logs
 	ln -sf ../../var/cache/pakfire /opt/pakfire/cache
 	@$(POSTBUILD)