#! /bin/sh wpath=`gnome-config --datadir 2> /dev/null` if test x$wpath = x; then echo GNOME not installed. Cannot install components. else spath=$wpath/gnome/apps/Graphics/gView.desktop ipath=$wpath/pixmaps/gview.png echo Installing GNOME entries for gView in $spath and $ipath install -D -m 644 gView.desktop $spath install -D -m 644 gview.png $ipath echo Installation complete fi