]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/pakfire
Asynchrones Syslogging aktiviert (Performancegruende)
[ipfire-2.x.git] / lfs / pakfire
index 6ebd6e1b15ba279a74135227ab1bd35cc518ed3e..f09d18fdefe574ec06876a6d4dacbaaf3505d126 100644 (file)
@@ -51,11 +51,17 @@ md5 :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP)
-       -mkdir -p /opt/pakfire/{cache,db/{meta,lists,rootfiles,installed},etc,lib,logs,tmp}
+       -mkdir -p /opt/pakfire/{db/{meta,lists,rootfiles,installed},etc,lib,tmp} \
+               /var/log/pakfire /var/cache/pakfire
        cp -fRv $(DIR_SRC)/src/pakfire/* $(DIR_APP)
        mv -vf $(DIR_APP)/pakfire.conf $(DIR_APP)/etc/
        chown root.root $(DIR_APP) -R
        chmod 755 $(DIR_APP)/pakfire
+       
        -cd $(DIR_APP) && find $(DIR_APP) -name .svn -exec rm -rf {} \;
        ln -sf ../../opt/pakfire/pakfire /etc/fcron.daily/pakfire-update
+       
+       touch /var/log/pakfire.log
+       ln -sf ../../var/log/pakfire /opt/pakfire/logs
+       ln -sf ../../var/cache/pakfire /opt/pakfire/cache
        @$(POSTBUILD)