Make install.sh runnable as non-root
This commit is contained in:
@@ -52,7 +52,7 @@ _install() {
|
|||||||
_package="$1" ; shift
|
_package="$1" ; shift
|
||||||
if [[ $NAME == "Ubuntu" ]] ; then
|
if [[ $NAME == "Ubuntu" ]] ; then
|
||||||
if ! (( cache_updated )) ; then
|
if ! (( cache_updated )) ; then
|
||||||
apt-get update
|
sudowrap apt-get update
|
||||||
cache_updated=1
|
cache_updated=1
|
||||||
fi
|
fi
|
||||||
sudowrap apt-get install --assume-yes "${_package}"
|
sudowrap apt-get install --assume-yes "${_package}"
|
||||||
|
|||||||
Reference in New Issue
Block a user