Update alpineInit.sh

This commit is contained in:
Molly Lau 2023-06-10 01:00:09 +09:00 committed by GitHub
parent a2691af026
commit b2b0a5c5db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,13 +42,11 @@ echo $LinuxMirror/$alpineVer/community >>/etc/apk/repositories
# Reset configurations of repositories
true >/etc/apk/repositories
setup-apkrepos -f
setup-apkrepos $LinuxMirror/$alpineVer/main
setup-apkcache /var/cache/apk
# Delete comment in the repositories
sed -i 's/#//' /etc/apk/repositories
# Add edge testing to the repositories
sed -i '$a\'$LinuxMirror'/'$alpineVer'/community' /etc/apk/repositories
sed -i '$a\'$LinuxMirror'/edge/testing' /etc/apk/repositories
# Synchronize time from hardware