# Try to run these.  If they fail, no biggie.
chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null
chroot . /usr/bin/gio-querymodules /usr/lib64/gio/modules/ 1> /dev/null 2> /dev/null

( cd usr/share/bash-completion/completions ; rm -rf gvfs-mkdir )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-mkdir )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-rename )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-rename )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-info )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-info )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-monitor-file )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-monitor-file )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-rm )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-rm )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-open )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-open )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-ls )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-ls )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-move )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-move )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-copy )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-copy )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-tree )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-tree )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-save )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-save )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-set-attribute )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-set-attribute )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-monitor-dir )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-monitor-dir )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-trash )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-trash )
( cd usr/share/bash-completion/completions ; rm -rf gvfs-less )
( cd usr/share/bash-completion/completions ; ln -sf gvfs-cat gvfs-less )
