From a6be7a7977767a6fa457176b15a06739f77a10c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Wed, 31 Aug 2016 08:46:18 +0200 Subject: [PATCH] [fix][wip]bad copy-paste --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index f55c89b..c889739 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,8 +31,8 @@ sudo chown -R www-data: $TMPDIR/data/ sudo chown -R www-data: $TMPDIR/extensions/ # Clean up existing files and copy new files to the right place -sudo rm -rf "$DESTDIR" -sudo cp -r "$TMPDIR" "$DESTDIR" +sudo rm -rf "$FINAL_PATH" +sudo cp -r "$TMPDIR" "$FINAL_PATH" #install extention for api