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