Run apt-get update after fixing sources.list.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Thu, 6 Nov 2008 11:31:44 +0000 (12:31 +0100)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Thu, 6 Nov 2008 11:31:44 +0000 (12:31 +0100)
src/functions.sh

index 2399e2d..66021e4 100644 (file)
@@ -346,6 +346,9 @@ fix_sarge_sources () {
 
       # install fixed version
       cp -av $fixed_sources $apt_sources
+
+      # update the database
+      apt_update
   fi
 
   # delete temporary