diff --git a/code.sh b/code.sh index 3f7eda5..7c65519 100755 --- a/code.sh +++ b/code.sh @@ -12,7 +12,11 @@ fi IFS=',' read -ra SDK <<< "$FLATPAK_ENABLE_SDK" for i in "${SDK[@]}"; do if [[ -d /usr/lib/sdk/$i ]]; then - . /usr/lib/sdk/$i/enable.sh + if [[ -f /usr/lib/sdk/$i/enable.sh ]]; then + . /usr/lib/sdk/$i/enable.sh + else + export PATH=$PATH:/usr/lib/sdk/$i/bin + fi fi done