From b49abcc1a8002c52b45c3e3da6723097f99c26e6 Mon Sep 17 00:00:00 2001 From: jnqnfe Date: Thu, 5 Feb 2015 03:30:47 +0000 Subject: tidy script init (1/4) - arg and config processing Partial fix for #952919 Gbp-Dch: Short --- scripts/build/chroot_apt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'scripts/build/chroot_apt') diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt index 733a98bd3..ea77260b0 100755 --- a/scripts/build/chroot_apt +++ b/scripts/build/chroot_apt @@ -18,11 +18,8 @@ DESCRIPTION="Manage /etc/apt/apt.conf" HELP="" USAGE="${PROGRAM} {install|install-binary|remove} [--force]" -Arguments "${@}" - -# Reading configuration files -Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source -Set_defaults +# Processing arguments and configuration files +Init_config_data "${@}" # Requiring stage file Require_stagefile .build/config .build/bootstrap -- cgit v1.2.3