Fix name generation of old core updates.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 27 Feb 2011 09:18:59 +0000 (10:18 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 27 Feb 2011 09:18:59 +0000 (10:18 +0100)
config/rootfiles/core/45/update.sh
config/rootfiles/core/46/update.sh
config/rootfiles/core/47/update.sh
config/rootfiles/core/48/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
 
 #
index a55bbb3..b34d37d 100644 (file)
@@ -29,7 +29,7 @@
 core=48
 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
 
 #