2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-24 20:20:33 +00:00

[go-xcat] Fix typo

This commit is contained in:
GONG Jie
2016-06-27 15:16:01 +08:00
parent 0e606e2b6a
commit 54581229cd

View File

@@ -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