Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

etc_zypp_conf.scr - fixed examples

svn path=/trunk/packager/; revision=64294
  • Loading branch information...
commit 8008a24b8c072edb9ca8017bc0dc32a5b135d08a 1 parent ad80800
@lslezak lslezak authored
Showing with 8 additions and 19 deletions.
  1. +8 −19 agents/etc_zypp_conf.scr
View
27 agents/etc_zypp_conf.scr
@@ -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@suse.cz>
- * 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)
Please sign in to comment.
Something went wrong with that request. Please try again.