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?
This commit is contained in:
parent
639e148984
commit
a3ae3f424c
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -x
|
||||||
|
apt-get -y update
|
||||||
|
apt-get "$@" upgrade
|
||||||
|
flatpak update
|
||||||
|
snap refresh
|
||||||
|
set +x
|
Loading…
Reference in New Issue