mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Merge pull request #1399 from neo954/go-xcat.2
[go-xcat] Fix bug #1398, fix typo
This commit is contained in:
commit
4d12b42c3c
@ -827,7 +827,7 @@ function add_repo_by_url_apt()
|
||||
[[ "${url:0:1}" = "/" ]] || url="${PWD}/${url}"
|
||||
# directory
|
||||
tmp="${TMP_DIR}/tmp_repo.list"
|
||||
echo "deb [arch=$(dpkg --print-architechure)] file://${url} ${codename} main" >"${tmp}"
|
||||
echo "deb [arch=$(dpkg --print-architecture)] file://${url} ${codename} main" >"${tmp}"
|
||||
add_repo_by_file_apt "${tmp}" "${repo_id}"
|
||||
return "$?"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user