Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pkgin Repository Update Script
#!/bin/sh
# Copyright 2014 Typomedia Foundation. All rights reserved.
# Released under GPL version 3.
#
# Pkgin Repo Update Script v1.0alpha
# Update repositories.conf for pkgin, and set $PKG_PATH for pkg_add
export PKG_PATH=http://pkgsrc.joyent.com/packages/SmartOS/2014Q1/x86_64/All
echo $PKG_PATH > /opt/local/etc/pkgin/repositories.conf
# Update core packages manually
pkg_add -u bootstrap-mk-files bmake
# Update everything else
pkgin update
pkgin -y full-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.