minix3/commands/pkgin_all/pkgin_all.sh

10 lines
243 B
Bash
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
#!/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