mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
handle multiple repo locations
This commit is contained in:
parent
3724f4127c
commit
b4d7830571
2 changed files with 11 additions and 3 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