diff options
-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") |