summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/configuration.sh2
-rw-r--r--manpages/en/lb_config.14
-rwxr-xr-xscripts/build/config2
3 files changed, 4 insertions, 4 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh
index decc564be..be3adf621 100755
--- a/functions/configuration.sh
+++ b/functions/configuration.sh
@@ -587,7 +587,7 @@ Validate_config_permitted_values ()
exit 1
fi
- if ! In_list "${LB_APT}" apt aptitude; then
+ if ! In_list "${LB_APT}" apt apt-get aptitude; then
Echo_error "You have specified an invalid value for LB_APT (--apt)."
exit 1
fi
diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1
index 4b258f8a0..be4e8b314 100644
--- a/manpages/en/lb_config.1
+++ b/manpages/en/lb_config.1
@@ -8,7 +8,7 @@
.PP
\fBlb config\fR
.br
- [\fB\-\-apt\fR apt|aptitude]
+ [\fB\-\-apt\fR apt|apt-get|aptitude]
.br
[\fB\-\-apt\-ftp\-proxy\fR \fIURL\fR]
.br
@@ -250,7 +250,7 @@ Note: \fBlb config\fR tries to be smart and sets defaults for some options depen
.SH OPTIONS
In addition to its specific options \fBlb config\fR understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
.PP
-.IP "\fB\-\-apt\fR apt|aptitude" 4
+.IP "\fB\-\-apt\fR apt|apt-get|aptitude" 4
defines if apt\-get or aptitude is used to install packages when building the image. The default is apt.
.IP "\fB\-\-apt\-ftp\-proxy\fR \fIURL\fR" 4
sets the FTP proxy to be used by apt. By default, this is empty. Note that this variable is only for the proxy that gets used by apt internally within the chroot, it is not used for anything else.
diff --git a/scripts/build/config b/scripts/build/config
index eb5d139b7..d486707ea 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -17,7 +17,7 @@ set -e
# Setting static variables
PROGRAM="lb config"
DESCRIPTION="Create configuration for live-build(7)"
-USAGE="${PROGRAM} [--apt apt|aptitude]\n\
+USAGE="${PROGRAM} [--apt apt|apt-get|aptitude]\n\
\t [--apt-ftp-proxy URL]\n\
\t [--apt-http-proxy URL]\n\
\t [--apt-indices true|false]\n\