Author: jsuchome Date: Tue Nov 22 08:19:02 2011 New Revision: 66890 URL: http://svn.opensuse.org/viewcvs/yast?rev=66890&view=rev Log: - there might be other configs than 'root' (bnc#731687) - 2.17.11 Modified: branches/SuSE-Code-11-SP2-Branch/snapper/VERSION branches/SuSE-Code-11-SP2-Branch/snapper/package/yast2-snapper.changes branches/SuSE-Code-11-SP2-Branch/snapper/src/Snapper.ycp Modified: branches/SuSE-Code-11-SP2-Branch/snapper/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/snapper/VERSION?rev=66890&r1=66889&r2=66890&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/snapper/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/snapper/VERSION Tue Nov 22 08:19:02 2011 @@ -1 +1 @@ -2.17.10 +2.17.11 Modified: branches/SuSE-Code-11-SP2-Branch/snapper/package/yast2-snapper.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/snapper/package/yast2-snapper.changes?rev=66890&r1=66889&r2=66890&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/snapper/package/yast2-snapper.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/snapper/package/yast2-snapper.changes Tue Nov 22 08:19:02 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Nov 21 14:55:08 CET 2011 - jsuchome@suse.cz + +- there might be other configs than 'root' (bnc#731687) +- 2.17.11 + +------------------------------------------------------------------- Fri Oct 14 10:08:18 CEST 2011 - jsuchome@suse.cz - use the <pre> tag for the diff, so spaces are not lost Modified: branches/SuSE-Code-11-SP2-Branch/snapper/src/Snapper.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/snapper/src/Snapper.ycp?rev=66890&r1=66889&r2=66890&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/snapper/src/Snapper.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/snapper/src/Snapper.ycp Tue Nov 22 08:19:02 2011 @@ -206,6 +206,10 @@ Report::Error (_("File /etc/sysconfig/snapper is not available")); configs = [ "root" ]; } + if (!contains (configs, "root") && size (configs) > 0) + { + current_config = configs[0]:"root"; + } return configs; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org