fix: flatpak path

This commit is contained in:
Jeevitha Kannan K S 2024-11-05 16:28:55 +05:30 committed by GitHub
parent 5878f4dbf0
commit 428123fc1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ GREEN='\033[32m'
command_exists() {
for cmd in "$@"; do
export PATH=/home/jeeva/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:$PATH
export PATH="$HOME/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:$PATH"
command -v "$cmd" >/dev/null 2>&1 || return 1
done
return 0