Author: mzugec Date: Tue Mar 11 13:26:32 2008 New Revision: 45345 URL: http://svn.opensuse.org/viewcvs/yast?rev=45345&view=rev Log: don't check for packages while create AY profile Modified: branches/SuSE-SLE-10-SP2-Branch/iscsi-client/src/IscsiClient.ycp Modified: branches/SuSE-SLE-10-SP2-Branch/iscsi-client/src/IscsiClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/iscsi-client/src/IscsiClient.ycp?rev=45345&r1=45344&r2=45345&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/iscsi-client/src/IscsiClient.ycp (original) +++ branches/SuSE-SLE-10-SP2-Branch/iscsi-client/src/IscsiClient.ycp Tue Mar 11 13:26:32 2008 @@ -321,11 +321,8 @@ // check if package open-iscsi is installed boolean installed_packages(){ y2milestone("Check if open-iscsi package installed"); -/* -if (Mode::autoinst() && Stage::cont()) - if (!PackageSystem::Installed("open-iscsi")) return false; -*/ - if (Stage::cont()) return true; + // skip package checking during creating profile + if (Stage::cont() || Mode::config()) return true; boolean ret = false; if( !Package::InstallMsg( "open-iscsi", _("<p>To configure the iSCSI initiator, the <b>%1</b> package must be installed.</p>") + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org