Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r40038 - in /trunk/packager: package/yast2-packager.changes src/clients/inst_source.ycp
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Mon, 06 Aug 2007 16:45:43 -0000
  • Message-id: <20070806164543.69228CDEF9@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Mon Aug  6 18:45:43 2007
New Revision: 40038

URL: http://svn.opensuse.org/viewcvs/yast?rev=40038&view=rev
Log:
- properly detect ISO image (disable autorefresh)

Modified:
    trunk/packager/package/yast2-packager.changes
    trunk/packager/src/clients/inst_source.ycp

Modified: trunk/packager/package/yast2-packager.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=40038&r1=40037&r2=40038&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Mon Aug  6 18:45:43 2007
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Mon Aug  6 18:43:44 CEST 2007 - lslezak@xxxxxxx
+
+- properly detect ISO image (disable autorefresh)
+
+-------------------------------------------------------------------
 Mon Aug  6 15:06:37 CEST 2007 - lslezak@xxxxxxx
 
 - fixed repository probing (merging URL and product directory has

Modified: trunk/packager/src/clients/inst_source.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_source.ycp?rev=40038&r1=40037&r2=40038&view=diff
==============================================================================
--- trunk/packager/src/clients/inst_source.ycp (original)
+++ trunk/packager/src/clients/inst_source.ycp Mon Aug  6 18:45:43 2007
@@ -193,8 +193,8 @@
            boolean auto_refresh = true;
 
            // disable autorefresh for ISO images
-           const string iso_suffix = ".iso";
-           if (substring(url, size(url) - size(iso_suffix), size(iso_suffix)) == iso_suffix)
+           const string iso_prefix = "iso:";
+           if (substring(url, 0, size(iso_prefix)) == iso_prefix)
            {
                y2milestone("ISO image detected, disabling autorefresh (%1)", url);
                auto_refresh = false;

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

< Previous Next >
This Thread
  • No further messages