fix: link old

This commit is contained in:
hashbro
2026-09-14 02:23:56 +08:00
parent f85aa3654a
commit b5af8a3748
3 changed files with 77 additions and 28 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# Runs the system HEIC decoder. Lives inside the app so PHP open_basedir can start it.
for bin in /usr/bin/heif-convert /usr/bin/heif-dec /usr/local/bin/heif-convert /usr/local/bin/heif-dec; do
if [ -x "$bin" ]; then
exec "$bin" "$@"
fi
done
echo "heif-convert not found" >&2
exit 127