[util-publish] fix dl_file official

This commit is contained in:
Bernhard Landauer 2020-03-24 16:39:47 +01:00
parent 514eafa341
commit dee5a38dea

View file

@ -216,7 +216,8 @@ pull_hp_repo(){
[[ -z $SRCDEST ]] && SRCDEST=${cache_dir}
hp_repo=manjaro-homepage
dl_file="${SRCDEST}/${hp_repo}/site/content/downloads/${edition}/${profile}.md"
[[ ${edition} == "manjaro" ]] && _edition="official" || _edition=${edition}
dl_file="${SRCDEST}/${hp_repo}/site/content/downloads/${_edition}/${profile}.md"
cd "${SRCDEST}"
if [[ ! -d "${hp_repo}" ]]; then