Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-05-10 20:06:41 +0000
committerAlexander Kurtakov2017-05-10 20:06:41 +0000
commitb90129778619b9be7bbbb9493f00ce43696f8546 (patch)
tree05eec42ab2c555c4e7c34653ea00c50a532c11d4
parentd1f4f0943d1bb1d644b8ef52ab2bec0e25b2f46f (diff)
downloadrt.equinox.p2-b90129778619b9be7bbbb9493f00ce43696f8546.tar.gz
rt.equinox.p2-b90129778619b9be7bbbb9493f00ce43696f8546.tar.xz
rt.equinox.p2-b90129778619b9be7bbbb9493f00ce43696f8546.zip
version Current version was reporting package as not installed if version not specified. Change-Id: I0b8609d0a6beeb5b0e4600c1e9309d7f37deb859 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rwxr-xr-xbundles/org.eclipse.equinox.p2.touchpoint.natives/nativePackageScripts/fedora/isInstalled.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.natives/nativePackageScripts/fedora/isInstalled.sh b/bundles/org.eclipse.equinox.p2.touchpoint.natives/nativePackageScripts/fedora/isInstalled.sh
index 3d0ffb0b3..25e8c6729 100755
--- a/bundles/org.eclipse.equinox.p2.touchpoint.natives/nativePackageScripts/fedora/isInstalled.sh
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.natives/nativePackageScripts/fedora/isInstalled.sh
@@ -29,6 +29,9 @@ foundVersion=$(rpm -q --qf '%{version}' $1)
#The package is found, check the version
if [ $? -eq 0 ]; then
+ if [ "$#" -eq 1 ]; then
+ exit 0
+ fi
case "$2" in
"gt")

Back to the top