Skip to content

Commit 65b7418

Browse files
committed
fix build issue 5.0
1 parent 2d71d50 commit 65b7418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flatpak.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ if ! command -v convert &> /dev/null; then
1717
sudo apt install -y imagemagick
1818
fi
1919

20-
if ! flatpak remotes | grep -q flathub; then
21-
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
20+
if ! flatpak remotes --user | grep -q flathub; then
21+
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
2222
fi
2323

2424
if ! flatpak info org.freedesktop.Platform//23.08 &> /dev/null; then

0 commit comments

Comments
 (0)