if [ -d "/lib64" ]; then
  ### Fix flash for 64bit Fuduntu
  if [ -e "/usr/lib/nspluginwrapper/npconfig" ]; then
    /usr/lib/nspluginwrapper/npconfig -i /usr/lib/mozilla/plugins/libflashplayer.so >/dev/null 2>&1 || true
  fi
  ### Fix flash for chromium in-case it's installed later
  if [ ! -d "/usr/lib64/chromium-browser/plugins" ]; then
    mkdir -p /usr/lib64/chromium-browser/plugins
  fi
  ln -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_* /usr/lib64/chromium-browser/plugins >/dev/null 2>&1 || true
fi

