-
-
Save typomedia/b3f2f37f5e5733e4d90d to your computer and use it in GitHub Desktop.
Pkgin Repository Update Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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