Merge branch 'patch-1' into 'master'

Add timestamp and kernel to iso-filename

See merge request tools/development-tools/manjaro-tools!304
This commit is contained in:
Stefano Capitani 2019-09-28 23:01:27 +02:00
commit 90a00d679f

View file

@ -221,11 +221,16 @@ gen_iso_fn(){
[[ -n ${profile} ]] && vars+=("${profile}")
fi
vars+=("${dist_release}")
vars+=("${target_branch}")
[[ ! ${target_branch} == "stable" ]] && vars+=("${target_branch}")
[[ ${extra} == 'false' ]] && vars+=("minimal")
vars+=("${target_arch}")
vars+=("$(date +%y%m%d)")
vars+=("${kernel}")
[[ ${target_arch} == "i686" ]] && vars+=("${target_arch}")
for n in ${vars[@]}; do
name=${name:-}${name:+-}${n}
done