Permalink
Browse files

netbsd

  • Loading branch information...
1 parent 1d632ed commit b025259e572eb3bf7196effc69615cade39f526f @tlevine committed Mar 9, 2014
Showing with 10 additions and 7 deletions.
  1. +10 −7 home-netbsd
View
@@ -2,19 +2,22 @@
set -e
export PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/$(uname -s)/$(uname -m)/$(uname -r|cut -f '1 2' -d.)/All"
-pkg_add \
- git-base tmux vim mosh \
- offlineimap mutt \
- python33 \
- wget w3m \
- irssi \
-
+binary_pkgs='git-base tmux vim mosh offlineimap mutt python33 wget w3m irssi'
src_pkgs='wip/ekg2'
+# Install binaries
+pkg_add $binary_pkgs
+
+# Install from source
for pkg in $src_pkgs; do
pkg_info $(echo $pkg|cut -d/ -f2) > /dev/null ||
(
cd /usr/pkgsrc/$pkg
make install
)
done
+
+useradd tlevine
+for dir in git safe nsa; do
+ su tlevine -c "mkdir ~/$dir"
+done

0 comments on commit b025259

Please sign in to comment.