flatpak-manage.sh: improve flatpak detection
This commit is contained in:
parent
c8da101b1e
commit
7fa2010ac9
|
@ -31,7 +31,7 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -x '/run/current-system/sw/bin/flatpak' ]]; then
|
||||
if command -v flatpak > /dev/null; then
|
||||
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install --user --or-update --assumeyes --noninteractive "${ALL_PKGS[@]}"
|
||||
flatpak update --user --assumeyes --noninteractive
|
||||
|
|
Loading…
Reference in New Issue