aboutsummaryrefslogtreecommitdiff
path: root/system/virt-viewer/virt-viewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/virt-viewer/virt-viewer.SlackBuild')
-rw-r--r--system/virt-viewer/virt-viewer.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild
index 84a1ece059c1..9871ec55a4d1 100644
--- a/system/virt-viewer/virt-viewer.SlackBuild
+++ b/system/virt-viewer/virt-viewer.SlackBuild
@@ -38,8 +38,7 @@ fi
set -e
-test=`pkg-config --exists spice-client-gtk-3.0`
-if [ $? -eq 0 ]; then
+if pkg-config --exists spice-client-gtk-3.0 ; then
SPICEGTK="--with-spice-gtk"
else
SPICEGTK="--without-spice-gtk"