diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-15 04:49:12 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-20 08:09:15 +0700 |
commit | 16fdf6f2ff25a12c1feb0a347c92df5910273063 (patch) | |
tree | 5b23dc582943d78d6a88eb63dc743d10945bf2e2 /system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild | |
parent | f697e21a3f8d90d1f86dd347ac1a7aa2c0010e40 (diff) |
system/nvidia-legacy470-driver: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild')
-rw-r--r-- | system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild index 23eb0f05565fa..39b50349610b2 100644 --- a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild +++ b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild @@ -72,7 +72,7 @@ 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 +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 |