summaryrefslogtreecommitdiff
path: root/system/virt-viewer
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-01 04:03:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-01 04:03:44 +0700
commit8cda3ee6cb6e57f7c8f57c7be1c89806ac12e2dc (patch)
treea458602465ac067ab735cebada09734e2409fe3f /system/virt-viewer
parenta735a62aa4b0f4449de04528eaf754451b9848c9 (diff)
downloadslackbuilds-8cda3ee6cb6e57f7c8f57c7be1c89806ac12e2dc.tar.gz
system/virt-viewer: Fix logic.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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"