[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Modifying kde-update-menu.sh to have merged menus?



Hello,

In order to ditch the $applnk_list/Debian submenus and have the items
appear in the $applnk_list menus instead (truly merged menus), could I
not modify the kde-update-menu.sh file so that occurences of type:

if [ -e $PREFIX/Apps ]; then
  cp /etc/kde3/debian/d-debian.desktop $PREFIX/Apps/.directory
  rm -f $NEWPREFIX/Applications/Debian
  ln -sf $PREFIX/Apps $NEWPREFIX/Applications/Debian
else
  rm -f $NEWPREFIX/Applications/Debian
fi

Becomes something analagous to this:

if [ -e $PREFIX/Apps ]; then
  ln -sf $PREFIX/Games/* $NEWPREFIX/Games/
fi

What kind of unintended consequences would I potentially run into doing
something like this? I can see one, that being uninstalled apps won't
have their menu entries removed automatically.

Suggestions?
-- 
Brad Felmey


-- 
To UNSUBSCRIBE, email to debian-kde-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: