mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Add flatpaks (#32)
This commit is contained in:
parent
54d89036fb
commit
bfa150ceeb
11 changed files with 169 additions and 49 deletions
11
lorax_templates/scripts/post/configure_flatpak
Normal file
11
lorax_templates/scripts/post/configure_flatpak
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<%page args="_flatpak_repo_gpg"/>
|
||||
|
||||
if [[ -d /ostree/deploy/default/var/lib/flatpak/repo ]]
|
||||
then
|
||||
echo ${_flatpak_repo_gpg} | base64 -d > /ostree/deploy/default/var/lib/flatpak/repo/flathub.trustedkeys.gpg
|
||||
elif [[ -d /var/lib/flatpak/repo ]]
|
||||
then
|
||||
echo ${_flatpak_repo_gpg} | base64 -d > /var/lib/flatpak/repo/flathub.trustedkeys.gpg
|
||||
else
|
||||
echo "Could not find Flatpaks repo"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue