scripts/bash/deb-update.bash
Mikaela Suomalainen a3ae3f424c
add deb-update.bash: apts, flatpak, snap
Why to have three different package managers with four different
commands to do a thing I am doing often, if I can script one command to
do it?
2018-05-02 11:29:49 +03:00

8 lines
101 B
Bash
Executable File

#!/usr/bin/env bash
set -x
apt-get -y update
apt-get "$@" upgrade
flatpak update
snap refresh
set +x