Skip to content

Commit

Permalink
Fix Flathub boot-time install (add trustedkeys)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seshpenguin committed Nov 24, 2023
1 parent 028a11c commit 18a923f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file not shown.
3 changes: 2 additions & 1 deletion distro-files/layout/opt/prolinux-setup/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fi
# todo investigate this
chmod 4755 /usr/bin/bwrap

# switch to the user user and add flathub if it is not already added
# offline install of flathub for default user
su - user -c "flatpak remote-add --if-not-exists --collection-id=org.flathub.Stable --gpg-import /opt/flatpak/flathub.gpg --user flathub /opt/flatpak/flathub.flatpakrepo"
cp /opt/flatpak/flathub.trustedkeys.gpg ~/.local/share/flatpak/repo/flathub.trustedkeys.gpg
killall pbsplash

0 comments on commit 18a923f

Please sign in to comment.