From d3c0792d4eef8a296e201299da688700e64885cb Mon Sep 17 00:00:00 2001 From: Samuel Henrique Date: Sat, 5 Apr 2025 23:07:36 +0100 Subject: [PATCH] INSTALL.sh: Imply install mode if a target dir was provided All the docs says it should behave like this, but this stopped working somewhere between 22.11.22 and 24.09.24. Users have to explicitly set --install. --- INSTALL.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/INSTALL.sh b/INSTALL.sh index dc1c3f6af1..1eb44eb12b 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -1360,6 +1360,7 @@ fi if [ -n "$new_dir" ]; then # new dir given, implies --install inst_directory="$new_dir" + [ -z "$mode" ] && mode="install" fi clean_directory="$inst_directory/$clean_directory" # set on command line, required for --clean and --cgi