introducing settings support

This commit is contained in:
guinux
2014-01-29 15:44:19 +01:00
parent 62991a7304
commit 09ff0c9ca1
11 changed files with 903 additions and 473 deletions

11
data/etc/pamac.conf Normal file
View File

@@ -0,0 +1,11 @@
### Pamac configuration file
## How often to check for updates, value in hours:
RefreshPeriod = 4
## Allow Pamac to search and install packages from AUR:
#EnableAUR
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
RemoveUnrequiredDeps

View File

@@ -14,4 +14,12 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
<action id="org.manjaro.pamac.write_config">
<message>Authentication is required</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
</policyconfig>