mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
ensure file exists
This commit is contained in:
parent
ae2dff3c27
commit
67c9098ddc
2 changed files with 6 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
 [](https://app.codacy.com/gh/JasonN3/build-container-installer/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
[](https://github.com/jasonn3/build-container-installer/actions/workflows/tests.yml) [](https://app.codacy.com/gh/JasonN3/build-container-installer/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
||||||
|
|
||||||
# Build Container Installer Action
|
# Build Container Installer Action
|
||||||
This action is used to enerate an ISO for installing an OSTree stored in a container image. This utilizes the anaconda command `ostreecontainer`
|
This action is used to enerate an ISO for installing an OSTree stored in a container image. This utilizes the anaconda command `ostreecontainer`
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,11 @@ do
|
||||||
then
|
then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
if [[ -f ${PWD}/${file} ]]
|
||||||
|
then
|
||||||
echo "-map ${PWD}/${file} ${file:2}"
|
echo "-map ${PWD}/${file} ${file:2}"
|
||||||
echo "-chmod 0444 ${file:2}"
|
echo "-chmod 0444 ${file:2}"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue