diff --git a/update_nextcloud.sh b/update_nextcloud.sh index 5ddbbc1..82e12ad 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -162,6 +162,14 @@ else SYSTEMD_EXISTS=true fi +# - Running in a terminal? +# - +if [[ -t 1 ]] ; then + terminal=true +else + terminal=false +fi + clear echo ""