From 48832d86e72fac714e4f5371d1ef9232b30059f8 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Wed, 28 Oct 2015 16:38:27 +0100 Subject: [PATCH] Can't use set -e because of findport function Former-commit-id: 62a92c7059d433690bcc62d73fad933c199664ad --- scripts/install | 4 +--- scripts/upgrade | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 6a9e13c..7834551 100644 --- a/scripts/install +++ b/scripts/install @@ -1,7 +1,5 @@ #!/bin/bash -set -e - app=seafile # Retrieve arguments @@ -47,7 +45,7 @@ sudo mkdir -p $final_path/logs sudo mkdir -p $final_path/seafile-data sudo mkdir -p $final_path/seafile-server-$seafile_version sudo tar xzf ../sources/'seafile-server_'$seafile_version'_'$architecture'.tar' -sudo mv seafile-server-$seafile_version/. $final_path/seafile-server-$seafile_version +sudo mv seafile-server-$seafile_version/* $final_path/seafile-server-$seafile_version sudo mv ../sources/'seafile-server_'$seafile_version'_'$architecture'.tar' $final_path/installed # Find available ports diff --git a/scripts/upgrade b/scripts/upgrade index 0836ac6..bafa7b3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,7 +1,5 @@ #!/bin/bash -set -e - app=seafile # Retrieve settings