diff --git a/scripts/upgrade b/scripts/upgrade index 2c3be49..129d5d3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -82,6 +82,7 @@ then ynh_secure_remove --file="$final_path" mkdir -p $final_path + cp -R ../sources_2/* $final_path/ # Copy the admin saved settings from tmp directory to final path @@ -94,8 +95,8 @@ then pushd "$final_path" ynh_exec_warn_less openssl req -newkey rsa:2048 -nodes -keyout data/key.pem -x509 -days 365 -out data/cert.pem \ -subj "/C=/ST=/L=/O=/OU=/CN=/emailAddress=" - chmod 640 data/{key.pem,cert.pem} - popd + chmod 640 data/{key.pem,cert.pem} + popd fi #=================================================