From 171b1e601b1e841e7a7ae3bc4df3907b3e890f40 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 26 Apr 2020 18:02:37 +0200 Subject: [PATCH] Update upgrade Fix cp: cannot create directory '/var/www/bitwarden/live/.': No such file or directory --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 70210ec..4812d3e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -150,6 +150,7 @@ then # Install bitwarden_rs ynh_secure_remove --file="$final_path/live" + mkdir -p "$final_path/live" cp -a "$final_path/build/target/release/." "$final_path/live/." # Restore files