Fix command output.

This commit is contained in:
Christoph 2018-01-30 04:42:32 +01:00
parent dd9bc839a7
commit f94ba5991d

View File

@ -641,6 +641,7 @@ fi
# - Remove symlink from old installation directory # - Remove symlink from old installation directory
# - # -
echononl " Remove symlink from old installation directory"
rm ${WEB_BASE_DIR}/nextcloud > $log_file 2>&1 rm ${WEB_BASE_DIR}/nextcloud > $log_file 2>&1
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then
echo_ok echo_ok
@ -651,6 +652,7 @@ fi
# - Set symlink (documentroot) for new installation directory # - Set symlink (documentroot) for new installation directory
# - # -
echononl " Set symlink (documentroot) for new installation directory"
ln -s nextcloud-${VERSION} ${WEB_BASE_DIR}/nextcloud > $log_file 2>&1 ln -s nextcloud-${VERSION} ${WEB_BASE_DIR}/nextcloud > $log_file 2>&1
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then
echo_ok echo_ok