]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/pakfire/lib/functions.sh
BugFix: pakfire try to remove the files of the new pakage at update
[people/pmueller/ipfire-2.x.git] / src / pakfire / lib / functions.sh
index 3a4191ea89993a77a363f0394e139b21ab83916c..1cc4d810a4297523cb2a539f051f284630028695 100644 (file)
@@ -30,8 +30,8 @@ extract_files() {
 
 remove_files() {
        echo "Removing files..."
-       for i in $(cat /opt/pakfire/tmp/ROOTFILES); do
-       rm -rfv /${i}
+       for i in $(cat /opt/pakfire/db/rootfiles/${NAME}); do
+           rm -rfv /${i}
        done
        echo "...Finished."
 }