Mailinglist Archive: yast-commit (502 mails)
| < Previous | Next > |
[yast-commit] r64294 - /trunk/packager/agents/etc_zypp_conf.scr
- From: lslezak@xxxxxxxxxxxxxxxxx
- Date: Thu, 09 Jun 2011 17:23:16 -0000
- Message-id: <20110609172316.CF00832639@svn2.opensuse.org>
Author: lslezak
Date: Thu Jun 9 19:23:16 2011
New Revision: 64294
URL: http://svn.opensuse.org/viewcvs/yast?rev=64294&view=rev
Log:
etc_zypp_conf.scr - fixed examples
Modified:
trunk/packager/agents/etc_zypp_conf.scr
Modified: trunk/packager/agents/etc_zypp_conf.scr
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/agents/etc_zypp_conf.scr?rev=64294&r1=64293&r2=64294&view=diff
==============================================================================
--- trunk/packager/agents/etc_zypp_conf.scr (original)
+++ trunk/packager/agents/etc_zypp_conf.scr Thu Jun 9 19:23:16 2011
@@ -1,35 +1,24 @@
/**
* File:
* etc_zypp_conf.scr
+ *
* Summary:
* SCR Agent for reading/writing /etc/zypp/zypp.conf file
* using the ini-agent
+ *
* Access:
* read/write
+ *
* Authors:
* Ladislav Slezak <lslezak@xxxxxxx>
- * Example:
- *
- * Read list of available files
- * SCR::Dir(.etc.zypp_conf)
- *
- * Read list of sections in a file
- *
SCR::Dir(.etc.policykit.section."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege")
- * (["Privilege"])
- *
- * Read list of options in a section
- *
SCR::Dir(.etc.policykit.value."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege"."Privilege")
- * (["RequiredPrivileges", "SufficientPrivileges", "Allow", "Deny",
"CanObtain", "CanGrant", "ObtainRequireRoot"])
- *
- * Read an option
- *
SCR::Read(.etc.policykit.value."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege"."Privilege"."RequiredPrivileges")
- * ("desktop-console")
*
+ * Example:
*
- * Write an option
- *
SCR::Write(.etc.policykit.value."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege"."Privilege"."RequiredPrivileges",
"")
- * (true)
+ * Get list of sections
+ * SCR::Dir(.etc.zypp_conf.section)
*
+ * Get a value
+ * SCR::Read(.etc.zypp_conf.value.main."commit.downloadMode")
*
* Flush the changes
* SCR::Write(.etc.zypp_conf, nil)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Thu Jun 9 19:23:16 2011
New Revision: 64294
URL: http://svn.opensuse.org/viewcvs/yast?rev=64294&view=rev
Log:
etc_zypp_conf.scr - fixed examples
Modified:
trunk/packager/agents/etc_zypp_conf.scr
Modified: trunk/packager/agents/etc_zypp_conf.scr
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/agents/etc_zypp_conf.scr?rev=64294&r1=64293&r2=64294&view=diff
==============================================================================
--- trunk/packager/agents/etc_zypp_conf.scr (original)
+++ trunk/packager/agents/etc_zypp_conf.scr Thu Jun 9 19:23:16 2011
@@ -1,35 +1,24 @@
/**
* File:
* etc_zypp_conf.scr
+ *
* Summary:
* SCR Agent for reading/writing /etc/zypp/zypp.conf file
* using the ini-agent
+ *
* Access:
* read/write
+ *
* Authors:
* Ladislav Slezak <lslezak@xxxxxxx>
- * Example:
- *
- * Read list of available files
- * SCR::Dir(.etc.zypp_conf)
- *
- * Read list of sections in a file
- *
SCR::Dir(.etc.policykit.section."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege")
- * (["Privilege"])
- *
- * Read list of options in a section
- *
SCR::Dir(.etc.policykit.value."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege"."Privilege")
- * (["RequiredPrivileges", "SufficientPrivileges", "Allow", "Deny",
"CanObtain", "CanGrant", "ObtainRequireRoot"])
- *
- * Read an option
- *
SCR::Read(.etc.policykit.value."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege"."Privilege"."RequiredPrivileges")
- * ("desktop-console")
*
+ * Example:
*
- * Write an option
- *
SCR::Write(.etc.policykit.value."/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege"."Privilege"."RequiredPrivileges",
"")
- * (true)
+ * Get list of sections
+ * SCR::Dir(.etc.zypp_conf.section)
*
+ * Get a value
+ * SCR::Read(.etc.zypp_conf.value.main."commit.downloadMode")
*
* Flush the changes
* SCR::Write(.etc.zypp_conf, nil)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |