diff --git a/install_wolf.sh b/install_wolf.sh index 6fc0a50f2dd85c8772f6fcc5a53c268d9e507f9f..df588dfe9de006935ace48eb845c524f9778f864 100755 --- a/install_wolf.sh +++ b/install_wolf.sh @@ -323,6 +323,11 @@ if [ $INSTALL_LASER == "y" ]; then read INSTALL_CSM fi if [ $INSTALL_CSM == "y" ]; then + if [ "$UID" -eq 0 -o "$EUID" -eq 0 ]; then + apt install -y libgsl-dev + else + sudo apt install -y libgsl-dev + fi cd $DEPS_PATH git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/csm.git cd csm