'\" t .\" Title: apt-config .\" Author: Jason Gunthorpe .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 30\ \&november\ \&2013 .\" Manual: APT .\" Source: APT 1.4.9 .\" Language: Dutch .\" .TH "APT\-CONFIG" "8" "30\ \&november\ \&2013" "APT 1.4.9" "APT" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" apt-config \- Programma om de configuratie van APT op te vragen .SH "SAMENVATTING" .HP \w'\fBapt\-config\fR\ 'u \fBapt\-config\fR [\fB\-\-empty\fR] [\fB\-\-format\ \*(Aq\fR\fB\fI%f\ "%v";%n\fR\fR\fB\*(Aq\fR] [\fB\-o=\fR\fB\fIconfig_string\fR\fR] [\fB\-c=\fR\fB\fIconfig_file\fR\fR] {shell | dump | {\-v\ |\ \-\-version} | {\-h\ |\ \-\-help}} .SH "OMSCHRIJVING" .PP \fBapt\-config\fR is een intern programma dat door verschillende onderdelen van de APT\-suite gebruikt wordt om op een consistente wijze configuratiemogelijkheden te bieden\&. Het maakt gebruik van het hoofdconfiguratiebestand /etc/apt/apt\&.conf op een manier die scripts toelaat om er handig gebruik van te maken\&. .PP Tenzij de optie \fB\-h\fR, of \fB\-\-help\fR opgegeven werd, moet een van de onderstaande commando\*(Aqs gebruikt worden\&. .PP \fBshell\fR .RS 4 Men gebruikt shell om in een shell\-script configuratie\-informatie op te vragen\&. Argumenten worden in paren opgegeven\&. Het eerste argument is een shell\-variabele en het tweede de configuratiewaarde waarnaar gezocht moet worden\&. De uitvoer bestaat uit een lijst shell\-opdrachten waarin elke gevonden waarde aan een variabele toegekend wordt\&. In een shell\-script moet het als volgt gebruikt worden: .sp .if n \{\ .RS 4 .\} .nf OPTS="\-f" RES=`apt\-config shell OPTS MyApp::options` eval $RES .fi .if n \{\ .RE .\} Dit zal aan de shell\-omgevingsvariabele $OPTS de waarde toekennen van MyApp::options met een standaard van \fB\-f\fR\&. .sp Achter het configuratie\-item mag een /[fdbi] staan\&. f levert een bestandsnaam op, d een map, b geeft de terugkeerwaarde true of false en i geeft een geheel getal als terugkeerwaarde\&. Elke terugkeerwaarde wordt intern genormaliseerd en gecontroleerd\&. .RE .PP \fBdump\fR .RS 4 Enkel de inhoud van de configuratieruimte weergeven\&. .RE .SH "OPTIES" .PP All command line options may be set using the configuration file, the descriptions indicate the configuration option to set\&. For boolean options you can override the config file by using something like \fB\-f\-\fR,\fB\-\-no\-f\fR, \fB\-f=no\fR or several other variations\&. .PP \fB\-\-empty\fR .RS 4 Opties met een lege waarde opnemen\&. Dit is de standaard\&. Gebruik dus \-\-no\-empty om ze uit de uitvoer te verwijderen\&. .RE .PP \fB\-\-format \*(Aq\fR\fB\fI%f "%v";%n\fR\fR\fB\*(Aq\fR .RS 4 Definieert de uitvoer van elke configuratie\-optie\&. %t wordt vervangen door zijn eigen naam, %f door zijn volledige hi\(:erarchische naam en %v door zijn waarde\&. Gebruik hoofdletters, en als in de waarde speciale tekens voorkomen, worden ze gecodeerd om er voor te zorgen dat die waarde bijvoorbeeld veilig gebruikt kan worden in een tekenreeks binnen aanhalingstekens zoals bepaald door RFC822\&. Voorts zal %n vervangen worden door een nieuwe regel en %N door een TAB\&. Om een % weer te geven gebruikt men %%\&. .RE .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 Show a short usage summary\&. .RE .PP \fB\-v\fR, \fB\-\-version\fR .RS 4 Show the program version\&. .RE .PP \fB\-c\fR, \fB\-\-config\-file\fR .RS 4 Configuration File; Specify a configuration file to use\&. The program will read the default configuration file and then this configuration file\&. If configuration settings need to be set before the default configuration files are parsed specify a file with the \fBAPT_CONFIG\fR environment variable\&. See \fBapt.conf\fR(5) for syntax information\&. .RE .PP \fB\-o\fR, \fB\-\-option\fR .RS 4 Set a Configuration Option; This will set an arbitrary configuration option\&. The syntax is \fB\-o Foo::Bar=bar\fR\&. \fB\-o\fR and \fB\-\-option\fR can be used multiple times to set different options\&. .RE .SH "ZIE OOK" .PP \fBapt.conf\fR(5) .SH "DIAGNOSTIEK" .PP \fBapt\-config\fR geeft de terugkeerwaarde nul bij een normaal verlopen operatie, het decimaal getal 100 in geval van een fout\&. .SH "BUGS" .PP \m[blue]\fBAPT bug page\fR\m[]\&\s-2\u[1]\d\s+2\&. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug\-reporting\&.txt or the \fBreportbug\fR(1) command\&. .SH "TRANSLATION" .PP The english translation was done by John Doe in 2009, 2010 and Daniela Acme in 2010 together with the Debian Dummy l10n Team \&. .PP Note that this translated document may contain untranslated parts\&. This is done on purpose, to avoid losing content when the translation is lagging behind the original content\&. .SH "AUTEURS" .PP \fBJason Gunthorpe\fR .RS 4 .RE .PP \fBAPT team\fR .RS 4 .RE .SH "OPMERKINGEN" .IP " 1." 4 APT bug page .RS 4 \%http://bugs.debian.org/src:apt .RE