Fix name generation of old core updates.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 27 Feb 2011 15:31:52 +0000 (16:31 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 27 Feb 2011 15:31:52 +0000 (16:31 +0100)
Conflicts:

config/rootfiles/core/48/update.sh

config/rootfiles/core/45/update.sh
config/rootfiles/core/46/update.sh
config/rootfiles/core/47/update.sh

index 6a76bf8..646a553 100644 (file)
@@ -29,7 +29,7 @@
 core=45
 for (( i=1; i<=$core; i++ ))
 do
-       rm -f /var/cache/pakfire/core-upgrade-$i.ipfire
+       rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
 done
 
 #
index ccf6719..7769a85 100644 (file)
@@ -29,7 +29,7 @@
 core=46
 for (( i=1; i<=$core; i++ ))
 do
-       rm -f /var/cache/pakfire/core-upgrade-$i.ipfire
+       rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
 done
 
 #
index 02c315c..3adc616 100644 (file)
@@ -29,7 +29,7 @@
 core=47
 for (( i=1; i<=$core; i++ ))
 do
-       rm -f /var/cache/pakfire/core-upgrade-$i.ipfire
+       rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
 done
 
 #