Author: aschnell Date: Mon Sep 8 10:33:45 2008 New Revision: 50779 URL: http://svn.opensuse.org/viewcvs/yast?rev=50779&view=rev Log: - use WFM::ClientExists Modified: trunk/storage/storage/src/include/ep-hd.ycp trunk/storage/yast2-storage.spec.in Modified: trunk/storage/storage/src/include/ep-hd.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd.ycp?rev=50779&r1=50778&r2=50779&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-hd.ycp (original) +++ trunk/storage/storage/src/include/ep-hd.ycp Mon Sep 8 10:33:45 2008 @@ -8,10 +8,8 @@ textdomain "storage"; import "Arch"; - import "Directory"; import "PackageCallbacks"; import "PackageSystem"; - import "FileUtils"; import "Mode"; import "Stage"; @@ -34,10 +32,7 @@ return true; //check if the client is in inst-sys else - { - string filename = Directory::clientdir + "/" + client + ".ycp"; - return FileUtils::Exists(filename); - } + return WFM::ClientExists(client); } list<symbol> fields = StorageSettings::FilterTable([ `device, `udev_path, `udev_id, `size, `format, Modified: trunk/storage/yast2-storage.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/yast2-storage.spec.in?rev=50779&r1=50778&r2=50779&view=diff ============================================================================== --- trunk/storage/yast2-storage.spec.in (original) +++ trunk/storage/yast2-storage.spec.in Mon Sep 8 10:33:45 2008 @@ -4,7 +4,7 @@ @HEADER@ BuildRequires: blocxx-devel boost-devel gcc-c++ libxcrypt-devel openssl-devel sablot swig docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite yast2-perl-bindings yast2-packager Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid multipath-tools kpartx cryptsetup -Requires: yast2-core >= 2.17.8 +Requires: yast2-core >= 2.17.10 Requires: yast2 >= 2.17.3 Requires: yast2-libyui >= 2.17.5 %ifarch s390 s390x -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org