fixed repository protocol replacement
This commit is contained in:
parent
937b3e88c5
commit
61ae74930b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if [[ ! "$password" ]]; then
|
|||
[[ "$password_confirmation" != "$password" ]] && printf "|> error: passwords do not match\n" && exit 1
|
||||
fi
|
||||
|
||||
[[ "$repository_protocol" ]] && printf "|> setting protocol for all repositories to '"$repository_protocol"'\n" && sed -i "s/http/$repository_protocol/g" "/etc/apk/repositories"
|
||||
[[ "$repository_protocol" ]] && printf "|> setting protocol for all repositories to '"$repository_protocol"'\n" && sed -i "s/http:/$repository_protocol:/g" "/etc/apk/repositories"
|
||||
[[ "$repository_version" ]] && printf "|> setting version for all repositories to '"$repository_version"'\n" && sed -i "s/\/v.*\//\/$repository_version\//g" "/etc/apk/repositories"
|
||||
|
||||
printf "|> updating packages...\n"
|
||||
|
|
Loading…
Reference in a new issue