1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 02:47:56 +01:00

Add tests (#76)

This commit is contained in:
Jason N 2024-03-18 14:32:01 -04:00 committed by GitHub
parent 3dc05c0efc
commit 3d85c93010
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 458 additions and 43 deletions

View file

@ -6,6 +6,3 @@ replace "flatpak_manager\.add_remote\(\".*\", \".*\"\)" "flatpak_manager.add_rem
replace "flatpak_manager\.replace_installed_refs_remote\(\".*\"\)" "flatpak_manager.replace_installed_refs_remote(\"${flatpak_remote_name}\")" /usr/lib64/python*/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/flatpak_installation.py
% endif
%if flatpak_remote_name != 'fedora':
systemctl disable flatpak-add-fedora-repos.service
% endif

View file

@ -1,4 +1,4 @@
<%page args="_flatpak_repo_gpg"/>
<%page args="_flatpak_repo_gpg, flatpak_remote_name"/>
if [[ -d /ostree/deploy/default/var/lib/flatpak/repo ]]
then
@ -9,3 +9,8 @@ then
else
echo "Could not find Flatpaks repo"
fi
if [[ "${flatpak_remote_name}" != 'fedora' ]]
then
systemctl disable flatpak-add-fedora-repos.service
fi