[pacman-dev] [PATCH] Clean up pacman.conf.in

Travis Willard travis at archlinux.org
Mon Jan 14 19:42:15 EST 2008


This patch cleans up the Arch-specific pacman.conf (to be provided in
the pacman Archlinux package) in an attempt to reduce the number of
PEBKAC errors seen enabling default-disabled repos.

Signed-off-by: Travis Willard <travis at archlinux.org>
---
 etc/pacman.conf.in |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/etc/pacman.conf.in b/etc/pacman.conf.in
index a072db1..26cb339 100644
--- a/etc/pacman.conf.in
+++ b/etc/pacman.conf.in
@@ -24,6 +24,18 @@ HoldPkg     = pacman glibc
 #   - repositories listed first will take precedence when packages
 #     have identical names, regardless of version number
 #
+# Repository entries are of the format:
+#       [repo-name]
+#       Server = ServerName
+#       Include = IncludePath
+#
+# The header [repo-name] is crucial - it must be present and
+# uncommented to enable the repo.
+#
+
+# Testing is disabled by default.  To enable, uncomment the following
+# two lines.  You can add preferred servers immediately after the header,
+# and they will be used before the default mirrors.
 #[testing]
 #Include = @sysconfdir@/pacman.d/mirrorlist
 
@@ -39,8 +51,10 @@ Include = @sysconfdir@/pacman.d/mirrorlist
 # Add your preferred servers here, they will be used first
 Include = @sysconfdir@/pacman.d/mirrorlist
 
+# Unstable is disabled by default.  To enable, uncomment the following
+# two lines.  You can add preferred servers immediately after the header,
+# and they will be used before the default mirrors.
 #[unstable]
-# Add your preferred servers here, they will be used first
 #Include = @sysconfdir@/pacman.d/mirrorlist
 
 # An example of a custom package repository.  See the pacman manpage for
-- 
1.5.3.7





More information about the pacman-dev mailing list