diff --git a/scripts/upgrade b/scripts/upgrade index 84ad963..ccc4ef0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -61,9 +61,9 @@ then cp -ar $squelettes /tmp/squelettes fi -if [ -b "$bdd" ] +if [ -e "$bdd" ] then - cp -ar $bdd /tmp/association.sqlite + cp -a $bdd /tmp/association.sqlite fi #================================================= @@ -145,9 +145,9 @@ then cp -ar /tmp/squelettes $final_path/www/squelettes fi -if [ -b "$backup_bdd" ] -then - cp -ar /tmp/association.sqlite $final_path/association.sqlite +if [ -e "$backup_bdd" ] +then + cp -a /tmp/association.sqlite $final_path/association.sqlite fi #=================================================