Fix command output.
This commit is contained in:
parent
dd9bc839a7
commit
f94ba5991d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user