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

exclude extra files

This commit is contained in:
Jason N. 2024-04-03 10:33:56 -04:00
parent dd7b1eb469
commit 56b17e4d74

View file

@ -22,10 +22,10 @@ popd > /dev/null
if [[ -n "${FLATPAK_DIR}" ]] if [[ -n "${FLATPAK_DIR}" ]]
then then
pushd "${FLATPAK_DIR}" > /dev/null pushd "${FLATPAK_DIR}" > /dev/null
for file in $(find . -type f) for file in $(find repo -type f)
do do
echo "-map ${PWD}/${file} flatpak/${file:2}" echo "-map ${PWD}/${file} flatpak/${file}"
echo "-chmod 0444 flatpak/${file:2}" echo "-chmod 0444 flatpak/${file}"
done done
popd > /dev/null popd > /dev/null
fi fi