--- install.sh 2006-02-06 12:45:01.000000000 +0100 +++ install.sh.patch 2006-02-11 12:01:25.000000000 +0100 @@ -1778,34 +1778,8 @@ } xdg() -{ # http://standards.freedesktop.org - if update-desktop-database --help >/dev/null 2>&1; then - - for ICON_DIR in ${XDG_DATA_DIRS}/icons/hicolor /usr/share/pixmaps/hicolor; do test -d ${ICON_DIR} && break; done - - if test ! -d ${ICON_DIR}; then echo "Could not find icon installation directory, icons not installed." >&2 - elif test ! -w ${ICON_DIR}; then echo "Directory \"${ICON_DIR}\" not writable by user \"${USER}\", icons not installed." >&2 - else - test -d ${ICON_DIR}/48x48/apps && test -w ${ICON_DIR}/48x48/apps && cp $cpv $share_dir/images/opera_48x48.png $DIR_HI/48x48/apps/opera.png - test -d ${ICON_DIR}/32x32/apps && test -w ${ICON_DIR}/32x32/apps && cp $cpv $share_dir/images/opera_32x32.png $DIR_HI/32x32/apps/opera.png - test -d ${ICON_DIR}/22x22/apps && test -w ${ICON_DIR}/22x22/apps && cp $cpv $share_dir/images/opera_22x22.png $DIR_HI/22x22/apps/opera.png - fi - - for SHORTCUT_DIR in ${XDG_DATA_HOME}/applications /usr/local/share/applications /usr/share/applications; do test -d ${SHORTCUT_DIR} && break; done - - if test ! -d ${SHORTCUT_DIR}; then echo "Could not find shortcut installation directory, desktop entry not installed." >&2; return - elif test ! -w ${SHORTCUT_DIR}; then echo "Directory \"${SHORTCUT_DIR}\" not writable by user \"${USER}\", desktop entry not installed." >&2; return - fi - generate_desktop ${SHORTCUT_DIR} xdg - update-desktop-database - else - icons - gnome - kde 3 - kde 2 - kde1 - mandrake - fi +{ + /bin/true } # These are the only variables the needs to be changed