]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/logrotate
Merge remote-tracking branch 'mfischer/logrotate' into next
[ipfire-2.x.git] / lfs / logrotate
index 240f425485eaf9e1d228812108b0422a013c98a7..0904074ba9b0ef5f98b024e9d867b6a3d7a9c1eb 100644 (file)
@@ -72,6 +72,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       touch /var/lib/logrotate.status
+       mkdir -pv /etc/logrotate.d
+       touch /etc/logrotate.d/.empty /var/lib/logrotate.status
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)