]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core141: run pakfire update after db cleanup
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 29 Jan 2020 12:54:00 +0000 (12:54 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 29 Jan 2020 12:54:00 +0000 (12:54 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/141/update.sh

index d990b44b71c689f064fbe8277ecb557076e3a65d..51fe6ad9c029c645ff0229320420103d0ce976f8 100644 (file)
@@ -92,6 +92,10 @@ rm -fv /opt/pakfire/db/*/meta-elinks
 rm -fv /opt/pakfire/db/rootfiles/python3
 rm -fv /opt/pakfire/db/*/meta-python3
 
+# run pakfire update twice (first sometimes fail)
+/usr/local/bin/pakfire update
+/usr/local/bin/pakfire update
+
 # Finish
 /etc/init.d/fireinfo start
 sendprofile