Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39976 - in /trunk/metapackage: package/yast2-metapackage-handler.changes src/OneClickInstallUI.ycp
  • From: mvidner@xxxxxxxxxxxxxxxx
  • Date: Mon, 06 Aug 2007 10:35:25 -0000
  • Message-id: <20070806103525.B225FB58D5@xxxxxxxxxxxxxxxx>
Author: mvidner
Date: Mon Aug  6 12:35:25 2007
New Revision: 39976

URL: http://svn.opensuse.org/viewcvs/yast?rev=39976&view=rev
Log:
Handle file: URLs (benji)

Modified:
    trunk/metapackage/package/yast2-metapackage-handler.changes
    trunk/metapackage/src/OneClickInstallUI.ycp

Modified: trunk/metapackage/package/yast2-metapackage-handler.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/package/yast2-metapackage-handler.changes?rev=39976&r1=39975&r2=39976&view=diff
==============================================================================
--- trunk/metapackage/package/yast2-metapackage-handler.changes (original)
+++ trunk/metapackage/package/yast2-metapackage-handler.changes Mon Aug  6 12:35:25 2007
@@ -1,6 +1,7 @@
 -------------------------------------------------------------------
-Mon Aug  6 11:25:45 CEST 2007 - mvidner@xxxxxxx
+Mon Aug  6 12:35:11 CEST 2007 - mvidner@xxxxxxx
 
+- Handle file: URLs (benji).
 - Updated the tuxsaver example.
 
 -------------------------------------------------------------------

Modified: trunk/metapackage/src/OneClickInstallUI.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/OneClickInstallUI.ycp?rev=39976&r1=39975&r2=39976&view=diff
==============================================================================
--- trunk/metapackage/src/OneClickInstallUI.ycp (original)
+++ trunk/metapackage/src/OneClickInstallUI.ycp Mon Aug  6 12:35:25 2007
@@ -26,7 +26,7 @@
        if (substring(metaPackageUrl,0,1) != "/")
        {
                string newUrl = (string)SCR::Read (.target.tmpdir) + SEPARATOR + "metapackage.xml";
-               if (substring(metaPackageUrl,0,4) == "http")
+               if (substring(metaPackageUrl,0,4) == "http" || substring(metaPackageUrl,0,4) == "file")
                {
                        map response = HTTP::Get(metaPackageUrl,newUrl);
                        if (response["code"]:400 >= 400)

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages