From 3708289de7d8b4140f468a344fb31510f6e55153 Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Sat, 16 Dec 2017 18:02:33 +0100 Subject: [PATCH] Recommend sudo -H --- Manual.org | 2 +- install-yavdr.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Manual.org b/Manual.org index 389a6f1..b1cdd32 100644 --- a/Manual.org +++ b/Manual.org @@ -138,7 +138,7 @@ sudo ./install-yavdr.sh ** Install script for local usage #+BEGIN_SRC shell :tangle install-yavdr.sh :shebang "#!/bin/bash" if (( $EUID != 0 )); then - echo "This script must be run using sudo or as root" + echo "This script must be run using sudo -H or as root" exit fi diff --git a/install-yavdr.sh b/install-yavdr.sh index e3fedaf..376af4e 100755 --- a/install-yavdr.sh +++ b/install-yavdr.sh @@ -1,6 +1,6 @@ #!/bin/bash if (( $EUID != 0 )); then - echo "This script must be run using sudo or as root" + echo "This script must be run using sudo -H or as root" exit fi