mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
set permissions prior to copying
This commit is contained in:
parent
503da8cc8a
commit
f8dbbca2d3
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ script.sh:
|
|||
ostree --repo=\$${FLATPAK_SYSTEM_DIR}/repo rev-parse $(FLATPAK_REMOTE_NAME)/\$${i} > /flatpak_dir/repo/refs/heads/\$${i}
|
||||
done
|
||||
flatpak build-update-repo /flatpak_dir/repo
|
||||
ostree refs --repo=/flatpak_dir/repo > /flatpak_dir/list.txt
|
||||
ostree refs --repo=/flatpak_dir/repo | tee /flatpak_dir/list.txt
|
||||
EOF
|
||||
|
||||
install-deps:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ popd > /dev/null
|
|||
if [[ -n "${FLATPAK_DIR}" ]]
|
||||
then
|
||||
pushd "${FLATPAK_DIR}" > /dev/null
|
||||
chmod -R ugo=rX .
|
||||
for file in $(find repo)
|
||||
do
|
||||
if [[ "${file}" == "repo/.lock" ]]
|
||||
|
|
@ -29,7 +30,6 @@ then
|
|||
continue
|
||||
fi
|
||||
echo "-map ${PWD}/${file} flatpak/${file}"
|
||||
echo "-chmod 0444 flatpak/${file}"
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue