From 909896908712cb9c118df2db254c8c5ae56d5331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 11 Mar 2023 15:46:10 +0100 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index f0f3081..d4700ad 100644 --- a/scripts/install +++ b/scripts/install @@ -50,11 +50,11 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." --weight=1 -if [ -e "$data_dir" ]; then - old_data_dir_path="$data_dir$(date '+%Y%m%d.%H%M%S')" - ynh_print_warn "A data directory already exist. Data was renamed to $old_data_dir_path" - mv "$data_dir" "$old_data_dir_path" -fi +#if [ -e "$data_dir" ]; then +# old_data_dir_path="$data_dir$(date '+%Y%m%d.%H%M%S')" +# ynh_print_warn "A data directory already exist. Data was renamed to $old_data_dir_path" +# mv "$data_dir" "$old_data_dir_path" +#fi mkdir -p "$data_dir/.ssh" chmod u=rwx,g=,o= "$data_dir/.ssh"