I like how
genmenu arranges stuff, and I'm too time-limited to do it manually, so I'm trying to make this work...
Determined that it's because of the deb package; found this in the wmaker changelog:
wmaker (0.12.3-0.2) unstable; urgency=low
* Fixed a serious mistake regarding wmaker.inst. Removed the script from
the package and all references to it from the program. Added another
script wmaker, and renamed the original wmaker to WindowMaker.
* Fixed entries in wmaker's configuration, to get it in sync with
whatever goes in the package, and not whatever is on my system. <g>
In the
genmenu script, here is the reference to wmaker.inst:
Code:
wm_interactive()
{
local wmrc menu
wmrc="$HOME/GNUstep"
menu="$HOME/GNUstep/Defaults/WMRootMenu"
if [ ! -e "$wmrc" ]; then
echo -e "\nUnable to find $wmrc, please run wmaker.inst to generate it!\n"
exit 1
fi
if [ -e "$menu" ]; then
yesno "$menu does already exist. Overwrite?" || exit 1
fi
echo -e "\nWriting Window Maker menu\n"
wm_writemenu >$menu
I don't have experience with this kind of code; can you tell me what $HOME refers to? I see that it's not a dimensioned variable. This looks to be the key, because when the script runs it says "Unable to find root/GNUstep", and I'm not logged in as root.
Any advice is much appreciated. Thanks.