Skip to content

Commit 48c86b8

Browse files
committed
postinst: Use wget instead of flatpak
The flatpak call fails during the LMDE7 ISO build. It looks like gpg or some of its dependencies aren't fully ready yet when mintinstall gets installed.
1 parent a11f563 commit 48c86b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

debian/postinst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ case "$1" in
3535
then
3636
# flatpak remote-add --if-not-exists gnome https://sdk.gnome.org/gnome.flatpakrepo
3737
# flatpak remote-add --if-not-exists gnome-apps https://sdk.gnome.org/gnome-apps.flatpakrepo
38-
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo || echo "Warning: Could not add flathub remote!"
38+
mkdir -p /etc/flatpak/remotes.d
39+
wget -O /etc/flatpak/remotes.d/flathub.flatpakrepo https://flathub.org/repo/flathub.flatpakrepo || echo "Warning: Could not preseed flathub remote!"
40+
#flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo || echo "Warning: Could not add flathub remote!"
3941
# Create share dirs for flatpak, they're in XDG_DATA_DIRS already but if they don't exist
4042
# they won't be monitored by some of the DEs and the first apps installed with Flatpak won't
4143
# show in the menu until the user logs out.

0 commit comments

Comments
 (0)