summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2012-09-20 04:08:38 -0400
committerGabriel Filion <lelutin@gmail.com>2012-09-20 04:08:38 -0400
commitd1d7f7b9bd73cfd982fe3c520f1de266c5836f8c (patch)
treeaa15b1829f762f65f03aa1d0fc474d6dd3cecfd7
parent9d7b48e37cfcf6815ab247b67dd52fdd7c29691e (diff)
Precision on file name format in preferences.d directory
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
-rw-r--r--README13
1 files changed, 12 insertions, 1 deletions
diff --git a/README b/README
index 8094091..e3ce7d8 100644
--- a/README
+++ b/README
@@ -302,7 +302,7 @@ Example:
apt::preferences_snippet
------------------------
-A way to add pinning information to /etc/apt/preferences
+A way to add pinning information to files in /etc/apt/preferences.d/
Example:
@@ -325,6 +325,17 @@ Example:
priority => 999;
}
+The names of the resources will be used as the names of the files in the
+preferences.d directory, so you should ensure that resource names follow the
+prescribed naming scheme.
+
+From apt_preferences(5):
+ Note that the files in the /etc/apt/preferences.d directory are parsed in
+ alphanumeric ascending order and need to obey the following naming
+ convention: The files have no or "pref" as filename extension and which
+ only contain alphanumeric, hyphen (-), underscore (_) and period (.)
+ characters - otherwise they will be silently ignored.
+
apt::preseeded_package
----------------------