[PATCH UPDATE] tools/wineshelllink *METHOD 4*
Paul Millar
paulm at astro.gla.ac.uk
Thu Apr 25 16:20:55 CDT 2002
On Thu, 25 Apr 2002, Speeddymon wrote:
> + if [ -d "/usr/lib/menu" -a "$mode" = "menu" -a ! `whoami` = "root" ]
> + then
[...]
> + elif [ `whoami` = "root" ]
> + then
> + mdk_entry >> "/usr/lib/menu/wine"
> + fi
Sorry, I haven't been following this but isn't the elif condition
redundant?
Also, AFAIK although its unusual, there's no reason an account name cannot
have a space in it, so
`whoami` should be "`whoami`"
[spent too much time debugging strings in scripts ;^]
----
Paul Millar
More information about the wine-devel
mailing list