diff --git a/patch-fbc.sh b/patch-fbc.sh index 835773d..06eb9c0 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -4,15 +4,6 @@ set -euo pipefail ; # <- this semicolon and comment make options apply # even when script is corrupt by CRLF line terminators (issue #75) # empty line must follow this comment for immediate fail with CRLF newlines -# root check -if [ "$(id -u)" -ne 0 ]; then - echo - echo -e "Please run as root!" - echo - exit 1 -fi - - backup_path="/opt/nvidia/libnvidia-fbc-backup" silent_flag='' manual_driver_version='' diff --git a/patch.sh b/patch.sh index fa90165..ee9d638 100755 --- a/patch.sh +++ b/patch.sh @@ -4,15 +4,6 @@ set -euo pipefail ; # <- this semicolon and comment make options apply # even when script is corrupt by CRLF line terminators (issue #75) # empty line must follow this comment for immediate fail with CRLF newlines -# root check -if [ "$(id -u)" -ne 0 ]; then - echo - echo -e "Please run as root!" - echo - exit 1 -fi - - backup_path="/opt/nvidia/libnvidia-encode-backup" silent_flag='' manual_driver_version=''