minix3/commands/pkgin_all/pkgin_all.sh

10 lines
243 B
Bash
Executable File

#!/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