--- install.sh 2006-04-11 13:28:00.000000000 +0200 +++ install.sh.new 2006-04-21 10:25:50.000000000 +0200 @@ -1834,45 +1834,8 @@ } xdg() -{ # http://standards.freedesktop.org - UDD='' - for BIN_DIR in `pathdirs`; do - test -x ${BIN_DIR}/update-desktop-database || continue - UDD=${BIN_DIR}/update-desktop-database; break - done - - # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html - if test "$UDD"; then - for ICON_DIR in `echo ${XDG_DATA_DIRS}:/usr/local/share:/usr/share|tr : '\012'|sed -e '/^$/d;s:$:/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 - for RESOLUTION in 48x48 32x32 22x22; do - TO_DIR=${ICON_DIR}/${RESOLUTION}/apps - test -d ${TO_DIR} && test -w ${TO_DIR} && cp $cpv $share_dir/images/opera_${RESOLUTION}.png ${TO_DIR}/opera.png - done - 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 - ${UDD} - else - icons - gnome - kde 3 - kde 2 - kde1 - mandrake - fi +{ + /bin/true } # These are the only variables the needs to be changed