Update of /cvsroot/fink/fink
In directory usw-pr-cvs1:/tmp/cvs-serv22932

Modified Files:
        ChangeLog bootstrap.pl 
Log Message:
fixed bootstrap.pl to be able to run twice in the same directory (thanks, Clef)


Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/ChangeLog,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- ChangeLog   9 Sep 2002 00:11:37 -0000       1.86
+++ ChangeLog   18 Sep 2002 22:07:18 -0000      1.87
@@ -1,3 +1,8 @@
+2002-09-18 Dave Morrison <[EMAIL PROTECTED]>
+
+       * bootstrap.pl: modified so that bootstrap can be run twice in the
+         same directory
+
 2002-09-08 Dave Morrison <[EMAIL PROTECTED]>
 
        * packages: directory renamed to 10.1

Index: bootstrap.pl
===================================================================
RCS file: /cvsroot/fink/fink/bootstrap.pl,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- bootstrap.pl        9 Sep 2002 00:11:38 -0000       1.18
+++ bootstrap.pl        18 Sep 2002 22:07:18 -0000      1.19
@@ -209,11 +209,9 @@
 
 ### setup the correct packages directory
 
-if (-d "packages") {
-    rename "packages", "packages-old" or die "Can't rename 'packages'";
-}
 if (-e "packages") {
-    unlink "packages" or die "Cannot unlink 'packages'";
+    rename "packages", "packages-old";
+    unlink "packages";
 }
 symlink "$distribution", "packages" or die "Cannot create symlink";
 



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to