[util-iso] allow configuring xorg and lng pkg cache cleanup via config
This commit is contained in:
parent
ccb5675d6e
commit
85c4882e08
3 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue