commit | b90129778619b9be7bbbb9493f00ce43696f8546 | [log] [tgz] |
---|---|---|
author | Alexander Kurtakov <akurtako@redhat.com> | Wed May 10 23:06:41 2017 +0300 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Wed May 10 23:06:41 2017 +0300 |
tree | 05eec42ab2c555c4e7c34653ea00c50a532c11d4 | |
parent | d1f4f0943d1bb1d644b8ef52ab2bec0e25b2f46f [diff] |
Bug 516440 - Support native touchpoint on fedora that doesn't specify version Current version was reporting package as not installed if version not specified. Change-Id: I0b8609d0a6beeb5b0e4600c1e9309d7f37deb859 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 3d0ffb0..25e8c67 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 @@ #The package is found, check the version if [ $? -eq 0 ]; then + if [ "$#" -eq 1 ]; then + exit 0 + fi case "$2" in "gt")