Scripts: Add inline usage information to install-libheif.sh

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-10-26 11:51:24 +02:00
parent 42a8a9f8b7
commit 5c41ffb3ab
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Build "heif-convert", "heif-enc", "heif-info", and "heif-thumbnailer" from source.
# This builds heif-convert, heif-enc, heif-info, and heif-thumbnailer binaries from source.
CURRENT_DIR=$(pwd)
# Determine the system architecture.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash
# This installs the heif-convert, heif-enc, heif-info, and heif-thumbnailer binaries on Linux.
# bash <(curl -s https://raw.githubusercontent.com/photoprism/photoprism/develop/scripts/dist/install-libheif.sh)
set -e
DESTDIR=$(realpath "${1:-/usr/local}")