Make install.sh runnable as non-root

This commit is contained in:
2022-07-02 15:51:21 +02:00
parent 2b62592bdf
commit 5dd7cfc6af

View File

@@ -52,7 +52,7 @@ _install() {
_package="$1" ; shift
if [[ $NAME == "Ubuntu" ]] ; then
if ! (( cache_updated )) ; then
apt-get update
sudowrap apt-get update
cache_updated=1
fi
sudowrap apt-get install --assume-yes "${_package}"