High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Fixed errors regarding the installation script (#6644)
Giuseppe Speranzae2ac019f512b
diff --git a/install.sh b/install.shindex 0ee6a87631..6b266ef925 100755--- a/install.sh+++ b/install.sh@@ -23,7 +23,8 @@ download_dot_env_file() {}replace_env_value() {- if [[ "$OSTYPE" == "darwin"* ]]; then+ KERNEL="$(uname -s | tr '[:upper:]' '[:lower:]')"+ if [ "$KERNEL" = "darwin" ]; thensed -i '' "s|$1=.*|$1=$2|" ./.envelsesed -i "s|$1=.*|$1=$2|" ./.env@@ -39,9 +40,9 @@ populate_upload_location() {start_docker_compose() {echo "Starting Immich's docker containers"- if docker compose &>/dev/null; then+ if docker compose > /dev/null 2>&1; thendocker_bin="docker compose"- elif docker-compose &>/dev/null; then+ elif docker-compose > /dev/null 2>&1; thendocker_bin="docker-compose"elseecho 'Cannot find `docker compose` or `docker-compose`.'