Browse Source

Fix upgrade script error

Julien VAUBOURG 9 years ago
parent
commit
c2982d3479
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/upgrade

+ 1 - 1
scripts/upgrade

@@ -15,7 +15,7 @@ opt_deleting=$(ynh_setting piratebox opt_deleting)
 opt_renaming=$(ynh_setting piratebox opt_renaming)
 opt_chat=$(ynh_setting piratebox opt_chat)
 
-tmpdir=$(mktemp -dp /tmp/ "${APP}-upgrade-XXXXX")
+tmpdir=$(mktemp -dp /tmp/ piratebox-upgrade-XXXXX)
 sudo mv /var/www/piratebox/public/uploads/ "${tmpdir}/"
 
 export PIRATEBOX_UPGRADE=1