X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fpakfire;fp=lfs%2Fpakfire;h=f09d18fdefe574ec06876a6d4dacbaaf3505d126;hp=6ebd6e1b15ba279a74135227ab1bd35cc518ed3e;hb=f89a66e0852458417f69c1a3b8356ad44f361cf0;hpb=35f38a8b7f8f521db456d2fb7418deb5961c41bd diff --git a/lfs/pakfire b/lfs/pakfire index 6ebd6e1b15..f09d18fdef 100644 --- a/lfs/pakfire +++ b/lfs/pakfire @@ -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)