summaryrefslogtreecommitdiff
path: root/system/virt-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'system/virt-viewer')
-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 84a1ece059..9871ec55a4 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"