Update of /cvsroot/fink/scripts/10.4-update
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv32053

Modified Files:
        ChangeLog update.pl 
Log Message:
don't use 'fink cleanup', but make sure that stale deb symlinks are removed


Index: update.pl
===================================================================
RCS file: /cvsroot/fink/scripts/10.4-update/update.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- update.pl   14 Jun 2006 00:13:04 -0000      1.2
+++ update.pl   14 Jun 2006 16:50:11 -0000      1.3
@@ -79,10 +79,6 @@
 #my $distribution = $Config->param("Distribution");
 #print "distribution $distribution\n";
 
-### cleanup old deb files
-&Fink::Services::execute("fink scanpackages");
-&Fink::Services::execute("fink cleanup debs");
-
 ### update fink and fink-mirrors, unless already done (as signalled by the
 ### FINK-UPDATED environment variable)
 
@@ -111,18 +107,12 @@
        exit 0;
 }
 
-### cleanup old deb files
-&Fink::Services::execute("fink scanpackages");
-&Fink::Services::execute("sudo apt-get update");
-&Fink::Services::execute("fink cleanup debs");
-
 ### edit fink.conf, and reset to 10.4
 &Fink::Services::execute("mkdir $basepath/fink/10.4");
 ### next one is needed for 'point release' updates
 &Fink::Services::execute("touch $basepath/fink/10.4/stamp-rel-0.8.0");
 &Fink::Services::execute("/usr/bin/perl -pi -e \"s|Distribution: 
10.3|Distribution: 10.4|\" $basepath/etc/fink.conf");
 &Fink::Services::execute("/usr/bin/perl -pi -e \"s|Distribution: 
10.4-transitional|Distribution: 10.4|\" $basepath/etc/fink.conf");
-#&Fink::Services::execute("$basepath/lib/fink/postinstall.pl");
 &Fink::Services::execute("sudo dpkg -i 
base-10.4/fink_0.24.18-31_darwin-powerpc.deb");
 
 
@@ -133,6 +123,9 @@
        &Fink::Services::execute("sudo mv $basepath/fink.old 
$basepath/fink.oold");
 }
 
+## clean out stale deb symlinks
+&Fink::Services::execute("rm -f $basepath/fink/debs/*.deb");
+
 ## copy some 10.4 debs into place
 &Fink::Services::execute("mkdir -p 
$basepath/fink/10.4/stable/main/binary-darwin-powerpc/base");
 &Fink::Services::execute("cp base-10.4/*.deb 
$basepath/fink/10.4/stable/main/binary-darwin-powerpc/base");

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/scripts/10.4-update/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog   14 Jun 2006 00:19:16 -0000      1.2
+++ ChangeLog   14 Jun 2006 16:50:11 -0000      1.3
@@ -1,3 +1,8 @@
+2006-06-14  Dave Morrison  <[EMAIL PROTECTED]>
+
+       * update.pl: don't use 'fink cleanup', but make sure that stale deb
+       symlinks are removed
+
 2006-06-13  Dave Morrison  <[EMAIL PROTECTED]>
 
        * update.pl: install debs during the update, rather than installing



_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to