Skip to content
Snippets Groups Projects
Verified Commit efdad1a3 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

common: pacman.conf: remove nonexistent cache dirs

Other than avoiding the conditional logic there's no reason to specify
/srv/ftp/pool/{packages,community} as additional cache directories for
all servers.

Restoring the default CacheDir value on machines without a local mirror
allows us to use pacdiff to perform a three-way merge of the few config
files which are easier to rebase this way.
parent 8c680c2d
No related branches found
No related tags found
No related merge requests found
Pipeline #19909 passed
......@@ -11,7 +11,11 @@
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
{% if 'mirrors' in group_names or inventory_hostname in ['gemini.archlinux.org', 'build.archlinux.org'] %}
CacheDir = /var/cache/pacman/pkg/ /srv/ftp/pool/packages/ /srv/ftp/pool/community/
{% else %}
#CacheDir = /var/cache/pacman/pkg/
{% endif %}
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment