forked from mirrored-repos/manjaro-tools
[buildiso] don't remove iso file by default;
user has to use -w arg
This commit is contained in:
parent
01c0dfed08
commit
7905f9498d
1 changed files with 2 additions and 6 deletions
|
@ -125,7 +125,7 @@ load_config "${SYSCONFDIR}/manjaro-tools.conf"
|
|||
clean_first=true
|
||||
clean_cache_xorg=true
|
||||
clean_cache_lng=true
|
||||
clean_cache_iso=true
|
||||
clean_cache_iso=false
|
||||
|
||||
pretend=false
|
||||
images_only=false
|
||||
|
@ -165,7 +165,7 @@ while getopts "${opts}" arg; do
|
|||
b) branch="$OPTARG" ;;
|
||||
r) chroots_iso="$OPTARG" ;;
|
||||
c) clean_first=false ;;
|
||||
w) clean_cache_iso=false ;;
|
||||
w) clean_cache_iso=true; iso_args+=(-f) ;;
|
||||
x) clean_cache_xorg=false ;;
|
||||
l) clean_cache_lng=false ;;
|
||||
i) images_only=true ;;
|
||||
|
@ -190,10 +190,6 @@ mirrors_conf="${PKGDATADIR}/pacman-mirrors-${branch}.conf"
|
|||
|
||||
create_args+=(-v -a ${arch} -D ${install_dir} -M ${mirrors_conf})
|
||||
|
||||
if [[ "$clean_cache_iso" == 'true' ]]; then
|
||||
iso_args+=(-f)
|
||||
fi
|
||||
|
||||
iso_args+=(-v -x -a ${arch} -D ${install_dir} -L ${iso_label} -c ${compression})
|
||||
|
||||
check_root "$0" "${orig_argv[@]}"
|
||||
|
|
Loading…
Reference in a new issue