diff options
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/scripts/install_linux.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/setup_native/scripts/install_linux.sh b/setup_native/scripts/install_linux.sh index 03c8763c88e0..7face6a570e4 100644 --- a/setup_native/scripts/install_linux.sh +++ b/setup_native/scripts/install_linux.sh @@ -86,11 +86,8 @@ fi # check for /bin/rpm first, otherwise the rpm database is most likly empty anyway if [ -x /bin/rpm ] then - /bin/rpm -q gnome-vfs2 >/dev/null - if [ $? -eq 0 ] - then - GNOMERPM=`find $PACKAGE_PATH -type f -name "*.rpm" -name "*-gnome*" -print` - fi + GNOMERPM=`find $PACKAGE_PATH -type f -name "*.rpm" -name "*-gnome*" -print` + /bin/rpm -i --test $GNOMERPM $CORERPM 2>/dev/null || GNOMERPM="" fi echo "Packages found:" |