forked from mirrored-repos/manjaro-tools
add architecture if i686
comments
This commit is contained in:
parent
b64dd4dfea
commit
4841509678
1 changed files with 12 additions and 2 deletions
|
@ -221,15 +221,25 @@ gen_iso_fn(){
|
|||
[[ -n ${profile} ]] && vars+=("${profile}")
|
||||
fi
|
||||
vars+=("${dist_release}")
|
||||
|
||||
# add branch if not stable
|
||||
if [[ ! ${target_branch} == "stable" ]]; then
|
||||
vars+=("${target_branch}")
|
||||
fi
|
||||
|
||||
[[ ${extra} == 'false' ]] && vars+=("minimal")
|
||||
|
||||
# build date
|
||||
vars+=("$(date +%y%m%d)")
|
||||
|
||||
# kernel version
|
||||
vars+=("${kernel}")
|
||||
|
||||
# add architecture if 32-bit
|
||||
if [[ ${target_arch} == "i686" ]]; then
|
||||
vars+=("${target_arch}")
|
||||
fi
|
||||
|
||||
for n in ${vars[@]}; do
|
||||
name=${name:-}${name:+-}${n}
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue