X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Ffull_install_osm.sh;h=ffd4a2742dc9740cc837b180a30985eb3561e553;hb=refs%2Fchanges%2F77%2F6177%2F1;hp=b22b9e28266030a26934795ff61b814c49d52bc4;hpb=67ce97c0dbc7da2d8b3cddadc8cefdb27c7f66bf;p=osm%2Fdevops.git diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index b22b9e28..ffd4a274 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -650,6 +650,7 @@ function deploy_perfmon() { } function install_lightweight() { + [ "$USER" == "root" ] && FATAL "You are running the installer as root. The installer is prepared to be executed as a normal user with sudo privileges." echo "Installing lightweight build of OSM" LWTEMPDIR="$(mktemp -d -q --tmpdir "installosmlight.XXXXXX")" trap 'rm -rf "${LWTEMPDIR}"' EXIT