]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/pakfire
Pakfire laedt die Listen jetzt besser und hat eine veraenderte Oberflaeche bekommen.
[ipfire-2.x.git] / lfs / pakfire
index cfd4258d59c8694c8d4b7f820bc8e50c3229dad1..d953da54667e1ac865c1fa67f21d9c3b8658abbd 100644 (file)
@@ -51,10 +51,17 @@ md5 :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP)
-       -mkdir -p /opt/pakfire/{cache,db/{meta,lists,rootfiles},etc,lib,logs,tmp}
+       -mkdir -p /opt/pakfire/{db/{meta,lists,rootfiles,installed,core},etc,lib,tmp} \
+               /var/log/pakfire /var/cache/pakfire
        cp -fRv $(DIR_SRC)/src/pakfire/* $(DIR_APP)
-       cp -vf $(DIR_SRC)/src/pakfire/pakfire.conf $(DIR_APP)/etc/
+       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)