forked from mirrored-repos/manjaro-tools
util: fix profiles dir detection
This commit is contained in:
parent
3d9cca313f
commit
00810ca7fc
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ write_repo_conf(){
|
|||
local path name
|
||||
[[ -z ${repos[@]} ]] && run_dir=${DATADIR}/iso-profiles && return 1
|
||||
for r in ${repos[@]}; do
|
||||
path=${r%/.*}
|
||||
path=${r%/repo_info}
|
||||
name=${path##*/}
|
||||
echo "run_dir=$path" > ${USERCONFDIR}/$name.conf
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue