add pamac-cache-clean and save cache options

This commit is contained in:
2017-10-15 17:04:01 -03:00
parent a605886d80
commit 082f63603a
17 changed files with 246 additions and 15 deletions

View File

@@ -9,3 +9,9 @@ RefreshPeriod = 6
## When there are no updates available, hide the tray icon:
#NoUpdateHideIcon
## Number of versions of each package to keep in the cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when clean cache:
#OnlyRmUninstalled

View File

@@ -24,3 +24,9 @@ BuildDirectory = /tmp
## Do not ask for confirmation when building packages:
#NoConfirmBuild
## Number of versions of each package to keep in the cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when clean cache:
#OnlyRmUninstalled

View File

@@ -3,4 +3,4 @@ Description=Clean packages cache
[Service]
Type=oneshot
ExecStart=/usr/bin/paccache -r
ExecStart=/usr/bin/pamac-clean-cache