diff options
author | Alexander Kurtakov | 2017-05-10 20:06:41 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-05-10 20:06:41 +0000 |
commit | b90129778619b9be7bbbb9493f00ce43696f8546 (patch) | |
tree | 05eec42ab2c555c4e7c34653ea00c50a532c11d4 /bundles | |
parent | d1f4f0943d1bb1d644b8ef52ab2bec0e25b2f46f (diff) | |
download | rt.equinox.p2-b90129778619b9be7bbbb9493f00ce43696f8546.tar.gz rt.equinox.p2-b90129778619b9be7bbbb9493f00ce43696f8546.tar.xz rt.equinox.p2-b90129778619b9be7bbbb9493f00ce43696f8546.zip |
Bug 516440 - Support native touchpoint on fedora that doesn't specifyY20170512-0230Y20170511-1500Y20170511-1000S4_7_0_M7I20170512-0500I20170511-1200I20170510-2000
version
Current version was reporting package as not installed if version not
specified.
Change-Id: I0b8609d0a6beeb5b0e4600c1e9309d7f37deb859
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles')
-rwxr-xr-x | bundles/org.eclipse.equinox.p2.touchpoint.natives/nativePackageScripts/fedora/isInstalled.sh | 3 |
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") |