Can't use set -e because of findport function

Former-commit-id: 62a92c7059
This commit is contained in:
mbugeia 2015-10-28 16:38:27 +01:00
parent 26d0d190d6
commit 48832d86e7
2 changed files with 1 additions and 5 deletions

View file

@ -1,7 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
app=seafile app=seafile
# Retrieve arguments # 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-data
sudo mkdir -p $final_path/seafile-server-$seafile_version sudo mkdir -p $final_path/seafile-server-$seafile_version
sudo tar xzf ../sources/'seafile-server_'$seafile_version'_'$architecture'.tar' 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 sudo mv ../sources/'seafile-server_'$seafile_version'_'$architecture'.tar' $final_path/installed
# Find available ports # Find available ports

View file

@ -1,7 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
app=seafile app=seafile
# Retrieve settings # Retrieve settings