we only need permissions on the subpath
Build Container Image / build_arm64 (push) Successful in 17s Details
Build Container Image / build_riscv64 (push) Successful in 25s Details
Build Container Image / publish_arm64 (push) Successful in 11s Details
Build Container Image / build_armhf (push) Successful in 32s Details
Build Container Image / build_amd64 (push) Successful in 38s Details
Build Container Image / publish_riscv64 (push) Successful in 14s Details
Build Container Image / publish_armhf (push) Successful in 20s Details
Build Container Image / build_manifest (push) Successful in 18s Details
Build Container Image / publish_amd64 (push) Successful in 34s Details
Build Container Image / publish_manifest (push) Successful in 24s Details

This commit is contained in:
Daniel Wolf 2023-07-11 10:31:28 -04:00
parent 00a5e1e99a
commit 892642126a
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
6 changed files with 13 additions and 8 deletions

View File

@ -1 +0,0 @@
oneshot

View File

@ -1,4 +0,0 @@
#!/command/execlineb
foreground { /bin/chown guardian:users /mnt/shared }
foreground { /bin/chown guardian:users /mnt/mirror }

View File

@ -32,6 +32,16 @@ fi
# Install Quake II
if [ -n "${QUAKE2_INSTALL}" ]; then
if [ ! -d "${QUAKE2_INSTALL}${QUAKE2_DATA_SUBPATH}" ]; then
/bin/mkdir -p "${QUAKE2_INSTALL}${QUAKE2_DATA_SUBPATH}"
fi
if [ ! -d "${QUAKE2_MIRROR}${QUAKE2_MIRROR_SUBPATH}" ]; then
exit 1
fi
/bin/chown guardian:users "${QUAKE2_INSTALL}${QUAKE2_DATA_SUBPATH}"
fi
if [ -n "${QUAKE2_INSTALL}" ] && [ ! -d "${QUAKE2_INSTALL}${QUAKE2_DATA_SUBPATH}/baseq2" ]; then
if [ ! -f /tmp/q2-314-demo-x86.exe ]; then
/usr/bin/wget -qO /tmp/q2-314-demo-x86.exe https://nephatrine.net/backup/quake2/q2-314-demo-x86.exe

View File

@ -45,12 +45,13 @@ done
# Mirror Files
if [ ! -d "${QUAKE2_MIRROR}${QUAKE2_MIRROR_SUBPATH}" ]; then
/command/s6-setuidgid guardian /bin/mkdir -p "${QUAKE2_MIRROR}${QUAKE2_MIRROR_SUBPATH}"
if [ ! -d "${QUAKE2_MIRROR}${QUAKE2_DATA_SUBPATH}" ]; then
/bin/mkdir -p "${QUAKE2_MIRROR}${QUAKE2_DATA_SUBPATH}"
fi
if [ ! -d "${QUAKE2_MIRROR}${QUAKE2_MIRROR_SUBPATH}" ]; then
exit 1
fi
/bin/chown guardian:users "${QUAKE2_MIRROR}${QUAKE2_MIRROR_SUBPATH}"
cd /tmp/quake2 || exit 1
/usr/bin/find . -type f -name '*.bsp' -exec /command/s6-setuidgid guardian /bin/cp --parents {} "${QUAKE2_MIRROR}${QUAKE2_MIRROR_SUBPATH}/" \;