zupdate/commands/apt_fetch
zawz 52a35fe7d1 + Add package regex match
+ Add target all option
* Restructure commands
2020-08-11 16:27:39 +02:00

3 lines
115 B
Bash

#!/bin/sh
sudo apt-get update >/dev/null || exit $?
apt list --upgradable 2>/dev/null | tail -n +2 | cut -d'/' -f1