minix/commands/pkgin_all/pkgin_all.sh
Ben Gras d6be9725c9 pkgin_all: script to auto-install all packages
Change-Id: I858c6d2b1c117c1fb5f702ab9c4921e86fb0cec5
2013-02-14 22:58:29 +00:00

9 lines
243 B
Bash

#!/bin/sh
set -e
echo "Updating package database.."
pkgin update
echo "Making available package list.."
packages="`pkgin av | awk '{ print $1 }'`"
echo "Made list of `echo $packages | wc -w` packages."
echo $packages | xargs -n50 pkgin -y in