default_install  &&
if [[ -e $SOURCE_DIRECTORY/plugin/.libs/libgnashplugin.so ]] ;
then
local ns_compat
for ns_compat in mozilla firefox icecat seamonkey xulrunner opera netscape4; do
if  spell_installed  $ns_compat;  then
  message "${MESSAGE_COLOR}Installing for $ns_compat${DEFAULT_COLOR}\n"  &&

  if [[ -e $INSTALL_ROOT/usr/lib/$ns_compat/plugins/libgnashplugin.so ]]; then
    rm -f $INSTALL_ROOT/usr/lib/$ns_compat/plugins/libgnashplugin.so
  fi  &&

  cp  -v plugin/.libs/libgnashplugin.so \
      $INSTALL_ROOT/usr/lib/$ns_compat/plugins/
fi
done  &&
for ns_compat in firefox-bin icecat-bin seamonkey-bin xulrunner-bin ; do
if  spell_installed  $ns_compat ;  then
  message "${MESSAGE_COLOR}Installing for $ns_compat${DEFAULT_COLOR}\n"  &&
  if [[ -e $INSTALL_ROOT/opt/${ns_compat/-bin}/plugins/libgnashplugin.so ]]; then
    rm -f $INSTALL_ROOT/opt/${ns_compat/-bin}/plugins/libgnashplugin.so
  fi  &&

  cp  -v plugin/.libs/libgnashplugin.so \
      $INSTALL_ROOT/opt/${ns_compat/-bin}/plugins/
fi
done  &&

if  spell_installed  kdebase;  then
  message "${MESSAGE_COLOR}Installing for Konqueror${DEFAULT_COLOR}\n"       &&
  message "${MESSAGE_COLOR}"                                                 \
  "After install, add /usr/lib/konqueror to the Plugins folders\n"           \
  "list and click on the \"Scan for New Plugins\" button${DEFAULT_COLOR}\n"  &&

  if [[ -e $INSTALL_ROOT/usr/lib/konqueror/libgnashplugin.so ]]; then
    rm -f $INSTALL_ROOT/usr/lib/konqueror/libgnashplugin.so
  fi  &&

  if ! [ -d $INSTALL_ROOT/usr/lib/konqueror ]; then
    mkdir -v --mode=755 $INSTALL_ROOT/usr/lib/konqueror
  fi  &&

  cp  -v plugin/.libs/libgnashplugin.so \
      $INSTALL_ROOT/usr/lib/konqueror/
fi
fi
