Fix readme and check if the custom freeRDP Command is actually existing

This commit is contained in:
Sebastien Bürky 2024-05-05 14:56:57 +02:00
parent f240fc3e95
commit 0225a9cf01
2 changed files with 5 additions and 2 deletions

View File

@ -195,7 +195,6 @@ The following optional commands can be used to manage your application configura
./installer.sh --system # Configure applications for the entire system
./installer.sh --user --uninstall # Remove all configured applications for the current user
./installer.sh --system --uninstall # Remove all configured applications for the entire system
```
./installer.sh --user --setupAllOfficiallySupportedApps # Configures all officially supported applications for the current user
./installer.sh --system --setupAllOfficiallySupportedApps # Configures all officially supported applications for the entire system
```

View File

@ -49,7 +49,11 @@ if [ -z "${FREERDP_COMMAND}" ]; then
FREERDP_COMMAND="xfreerdp3"
fi
else
dprint "Using custom freerdp command ${FREERDP_COMMAND}"
if command -v $FREERDP_COMMAND &> /dev/null
dprint "Using custom freerdp command ${FREERDP_COMMAND}"
else
echo "You have supplied a custom FreeRDP command, but the command is not available."
fi
fi
if [ -z "${RDP_IP}" ]; then