[PATCH UPDATE] tools/wineshelllink *METHOD 2*

Speeddymon speeddymon at yahoo.com
Thu Apr 25 15:57:22 CDT 2002


this is the updated version of tools/wineshelllink
method 1 to add menu items for installed programs

works on mandrake and debian (both as root)

adds a check for a directory mandrake and debian use
for their menus and if it exists, writes the menu item
information to a file in that directory along with the
original directory (~/.menu)

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
-------------- next part --------------
Name: tools_wineshelllink-dnavea-patch_fixed-METHOD2
ModifiedFiles: tools/wineshelllink
ChangeLog: checks for /usr/lib/menu and if it exists copies menu config
	     info to there
	     NOTE: this is the fixed patch, the last one had not been
	     tested well enough to be used on any system but my own
	     NOTE2: this patch should fix any system which uses a K Menu
	     format that is different from the KDE Default (i.e. Mandrake)
Licensed-to: WineHQ, TransGaming, CodeWeavers, anyone else
Author: Dustin Navea
===============================================================================
--- /wine-20020411/tools/wineshelllink.backup	Thu Apr 25 07:51:41 2002
+++ /wine-20020411/tools/wineshelllink	Thu Apr 25 07:59:43 2002
@@ -145,6 +145,10 @@
     xpmicon=""
   fi
   mdk_entry >> "$HOME/.menu/wine"
+  if [ -d "/usr/lib/menu" ]
+  then
+    mdk_entry >> "/usr/lib/menu/wine"
+  fi
   update-menus > /dev/null 2>&1
 fi
 
@@ -182,8 +186,6 @@
   then
     gnome_entry > "$HOME/Desktop2/$link.desktop"
   fi
-
-
 fi
 
 


More information about the wine-patches mailing list