function ask_spell()
{
  if spell_ok $1; then
    config_query $3 "Do you wish to install the plugin for $2?" y
  fi
}

# Standard rejected warnings.
#
source $GRIMOIRE/REJECTED_MSG  &&

echo "Flash works with the following programs:"  &&
echo "Mozilla"  &&
echo "Firefox/XULRunner"   &&
echo "Midori/WebKit" &&
echo "Seamonkey" &&
echo "Konqueror (KDE 3.x/4.x)" &&
echo "Opera" &&
echo "Netscape (not version 4.x)" &&
echo "Icecat" &&
echo "Pale Moon" &&

echo "Select which currently installed applications you wish to install Flash for."  &&

persistent_add MOZILLA FIREFOX MIDORI SEAMONKEY FIRE_BIN KDEBASE KDEBASE4 OPERA NETSCAPE XULRUNNER ICE_BIN ICECAT PALEMOON &&

ask_spell mozilla Mozilla MOZILLA &&
ask_spell xulrunner "XULRunner" XULRUNNER &&
ask_spell firefox "Firefox" FIREFOX &&
ask_spell midori "Midori/WebKit" MIDORI &&
ask_spell seamonkey Seamonkey SEAMONKEY &&
ask_spell firefox-bin Firefox-bin FIRE_BIN &&
ask_spell kdebase "Konqueror (KDE3)" KDEBASE &&
ask_spell kdebase4 "Konqueror (KDE4)" KDEBASE4 &&
ask_spell opera Opera OPERA &&
ask_spell netscape4 Netscape NETSCAPE &&
ask_spell icecat Icecat ICECAT &&
ask_spell icecat-bin Icecat-bin ICE_BIN &&
ask_spell palemoon "Pale Moon" PALEMOON &&

#not required for flash 11. Issue #20
if [[ "${SMGL_COMPAT_ARCHS[1]}" != "x86_64" && "${SMGL_COMPAT_ARCHS[1]}" != "em64t" ]]; then
 config_query FLASH_MEMCPY_HACK "Hack the plugin for broken memcpy calls (more urgent since glibc 2.13)?" n 
fi
