Carl McAlwane

Results 3 comments of Carl McAlwane

Have you considered running the install script regardless of whether it is installed? This would have the benefit of ensuring you are using the latest version.

It's a bit hacky but the following seems to work :- ``` #/usr/bin/env bash which sdm if [ $? -ne 0 ]; then echo "sdm is not installed" else sdmInstalledVer=$(cat...

Sometimes you just need to use bash's particularities to your advantage LOL!