diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 02:38:26 +0100 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 02:38:26 +0100 |
commit | f78001144b56993de751be78983b9d01a9d73dd7 (patch) | |
tree | ab9822dc597bd919e5e3444446e970437ea2c269 /functions | |
parent | 69dc8c21cb97f155183b273bdc49d5a71f25bcb8 (diff) | |
download | vyos-live-build-f78001144b56993de751be78983b9d01a9d73dd7.tar.gz vyos-live-build-f78001144b56993de751be78983b9d01a9d73dd7.zip |
move and rename Common_config_files()
for better encapsulation, and for consistency with other config file
handling functions in the new location.
Gbp-Dch: Ignore
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/conffile.sh | 5 | ||||
-rwxr-xr-x | functions/init.sh | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/functions/conffile.sh b/functions/conffile.sh index bd766c2bd..09be0bcc6 100755 --- a/functions/conffile.sh +++ b/functions/conffile.sh @@ -9,6 +9,11 @@ ## under certain conditions; see COPYING for details. +Common_conffiles () +{ + echo "config/all config/common config/bootstrap config/chroot config/binary config/source" +} + Get_conffiles () { local FILES diff --git a/functions/init.sh b/functions/init.sh index cc70e91fa..d39bf1b5a 100755 --- a/functions/init.sh +++ b/functions/init.sh @@ -9,11 +9,6 @@ ## under certain conditions; see COPYING for details. -Common_config_files () -{ - echo "config/all config/common config/bootstrap config/chroot config/binary config/source" -} - Auto_build_config () { # Automatically build config @@ -27,7 +22,7 @@ Init_config_data () { Arguments "${@}" - Read_conffiles $(Common_config_files) + Read_conffiles $(Common_conffiles) Prepare_config # Apt v2.0.1 introduced color support, but it needs to be explicitly enabled. |