From a3ae3f424c76bb9f5d800e135e6692aa3a0f2cdd Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 2 May 2018 11:29:49 +0300 Subject: [PATCH] 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? --- bash/deb-update.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bash/deb-update.bash diff --git a/bash/deb-update.bash b/bash/deb-update.bash new file mode 100755 index 0000000..e2052ba --- /dev/null +++ b/bash/deb-update.bash @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -x +apt-get -y update +apt-get "$@" upgrade +flatpak update +snap refresh +set +x