Precision on file name format in preferences.d directory

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
This commit is contained in:
Gabriel Filion 2012-09-20 04:08:38 -04:00
parent 9d7b48e37c
commit d1d7f7b9bd

13
README
View file

@ -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
----------------------