diff --git a/Tools/setup/arch.sh b/Tools/setup/arch.sh index 79d44496dc..b64040c8ff 100644 --- a/Tools/setup/arch.sh +++ b/Tools/setup/arch.sh @@ -155,8 +155,7 @@ if [[ $INSTALL_SIM == "true" ]]; then # fix VMWare 3D graphics acceleration for gazebo exportline="export SVGA_VGPU10=0" - if grep -Fxq "$exportline" $HOME/.profile; then - else + if !grep -Fxq "$exportline" $HOME/.profile; then echo $exportline >> $HOME/.profile; fi fi