fix isRpmInstalled (taken from 6.5.0); move symlink for /script from installer.php to setup/installer.sh