Skip to content
Snippets Groups Projects

packages 2 install - harden sudo command execution

Merged Hahn Axel (hahn) requested to merge 6723-sudo into master
4 files
+ 11
4
Compare changes
  • Side-by-side
  • Inline

Files

@@ -12,13 +12,14 @@
# 2022-06-07 v1.1 ah remove text "Nothing to install"
# rename functions
# 2022-10-21 v1.3 ah remove grep: warning: stray \ before white space
# 2023-10-20 v1.4 ah harden sudo command execution
# ===============================================================
# ---------------------------------------------------------------
# command to list of updates
function apt.getUpdates(){
sudo apt-get -u upgrade --assume-no
sudo -n apt-get -u upgrade --assume-no
}
# ---------------------------------------------------------------
Loading