mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
Allowing storing the Flatpak refs in files (#66)
This commit is contained in:
parent
f4fd87855a
commit
4fac21d55f
9 changed files with 75 additions and 32 deletions
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
FOUND_VERSION=$(cat /mnt/install/etc/os-release | grep VERSION_ID | cut -d= -f2)
|
||||
|
||||
if [[ ${FOUND_VERSION} != ${VERSION} ]]
|
||||
then
|
||||
echo "Version mismatch"
|
||||
echo "Expected: ${VERSION}"
|
||||
echo "Found: ${FOUND_VERSION}"
|
||||
exit 1
|
||||
else
|
||||
echo "Correct version found"
|
||||
exit 0
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue