[util-iso] allow configuring xorg and lng pkg cache cleanup via config

This commit is contained in:
Aaditya Bagga 2015-05-02 23:43:11 +05:30 committed by Ramon Buldó
parent ccb5675d6e
commit 85c4882e08
3 changed files with 14 additions and 2 deletions

View file

@ -118,8 +118,6 @@ load_config "${USER_CONFIG}/manjaro-tools.conf"
load_config "${SYSCONFDIR}/manjaro-tools.conf"
clean_first=true
clean_cache_xorg=true
clean_cache_lng=true
clean_cache_iso=true
pretend=false

View file

@ -53,6 +53,12 @@
# default iso buildset; name without .set extension
# buildset_iso=default
# clean xorg cache before building
# clean_cache_xorg=true
# clean lng cache before building
# clean_cache_lng=true
# unset defaults to given value
# dist_name="Manjaro"

View file

@ -258,6 +258,14 @@ load_config(){
buildset_iso='default'
fi
if [[ -z ${clean_cache_xorg} ]];then
clean_cache_xorg='true'
fi
if [[ -z ${clean_cache_lng} ]];then
clean_cache_lng='true'
fi
##### iso settings #####
if [[ -z ${dist_release} ]];then