fix: flatpak path (#916)

This commit is contained in:
Jeevitha Kannan K S 2024-11-06 04:12:40 +05:30 committed by GitHub
parent 67b749942c
commit 88d6fd12a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ GREEN='\033[32m'
command_exists() { command_exists() {
for cmd in "$@"; do 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 command -v "$cmd" >/dev/null 2>&1 || return 1
done done
return 0 return 0