mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
system/nvidia-driver: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
99daa51ee7
commit
88b14fae68
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
|||
fi
|
||||
|
||||
if [ "${PERSISTENCED:-no}" = "yes" ]; then
|
||||
if [ "`getent group nvidia > /dev/null`" -o "`getent passwd nvidia > /dev/null`" ]; then
|
||||
# 20240715 bkw: this test was borked, fixed.
|
||||
if [ "$( getent group nvidia )" = "" -o "$( getent passwd nvidia )" = "" ]; then
|
||||
echo "User and/or group nvidia do not exist!"
|
||||
echo "Please create user and group nvidia and rerun this script."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue