From 66e417563b8254386f01900b82e89bca5dbd6015 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 12 Feb 2017 17:44:46 +0100 Subject: [PATCH] Update restore --- scripts/restore | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/restore b/scripts/restore index a85a367..f9cf23b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -36,17 +36,6 @@ sudo apt-get -y -qq install php5-sqlite sudo yunohost app checkurl "${domain}${path}" -a "$app" \ || ynh_die "Path not available: ${domain}${path}" -if [ -d $final_path ]; then - echo "There is already a directory: $final_path " | sudo tee /dev/stderr - ynh_die -fi - -conf=/etc/nginx/conf.d/$domain.d/$app.conf -if [ -f $conf ]; then - echo "There is already a nginx conf file at this path: $conf " | sudo tee /dev/stderr - ynh_die -fi - # Restore sources & data sudo cp -a "./sources" $final_path