mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Add F41 tests (#145)
Co-authored-by: Noel Miller <noelmiller@protonmail.com>
This commit is contained in:
parent
f9395d5ae1
commit
a1ce6da2d6
5 changed files with 27 additions and 31 deletions
|
|
@ -1,5 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ ${VERSION} -ge 41 ]]
|
||||
then
|
||||
result=0
|
||||
grep "^\[Payload\]" mnt/install/etc/anaconda/conf.d/anaconda.conf > /dev/null || {
|
||||
echo "Missing [Payload] header"
|
||||
result=1
|
||||
}
|
||||
grep "^flatpak_remote = ${FLATPAK_REMOTE_NAME} ${_FLATPAK_REPO_URL}" mnt/install/etc/anaconda/conf.d/anaconda.conf > /dev/null || {
|
||||
echo "Missing flatpak_remote option"
|
||||
result=1
|
||||
}
|
||||
exit ${result}
|
||||
fi
|
||||
|
||||
add_line=$(grep flatpak_manager.add_remote mnt/install/usr/lib64/python*/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/flatpak_installation.py)
|
||||
|
||||
add_line_repo=$(echo "${add_line}" | grep "${FLATPAK_REMOTE_NAME}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue