Skip to content

Commit

Permalink
Fix pkgin repository at NetBSD (#94)
Browse files Browse the repository at this point in the history
pkgin's repository is not updated when it is installed, it was using
NetBSD 9.0's repository, so update pkgin's repository after it is
installed.
  • Loading branch information
nbyavuz authored Apr 24, 2024
1 parent ea1ff46 commit 41f8dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/bsd/netbsd-prep-gce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ EOF
PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/" && \
export PKG_PATH && \
pkg_add pkgin && \
echo $PKG_PATH > /usr/pkg/etc/pkgin/repositories.conf && \
pkgin update && \
pkgin upgrade -y && \
pkgin -y install \
Expand Down

0 comments on commit 41f8dd6

Please sign in to comment.