Description of Problem: WindowMaker will not start for first time users due to a syntax error in wmaker.inst. copy() is broken: <snip> copy() { source=$1 target=$2 file=`basename $source` rm -f $target if [ "$file" = "WindowMaker" ]; then sed -e "s|~/GNUstep|$GSDIR|g" $source > $target elif [ "$file" = "WMRootMenu" ]; then if [ "$LOCALE" ]; then if [ -f $GLOBALDIR/plmenu.${LOCALE} ]; then source=$GLOBALDIR/plmenu.${LOCALE} if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then source=$GLOBALDIR/plmenu.${LOCALE%_*} if [ -f $GLOBALDIR/plmenu.${LOCALE%_*.*} ]; then source=$GLOBALDIR/plmenu.${LOCALE%_*.*} elif [ -f $GLOBALDIR/menu.${LOCALE} ]; then source=$GLOBALDIR/menu.${LOCALE} elif [ -f $GLOBALDIR/menu.${LOCALE%_*} ]; then source=$GLOBALDIR/menu.${LOCALE%_*} elif [ -f $GLOBALDIR/menu.${LOCALE%_*.*} ]; then source=$GLOBALDIR/menu.${LOCALE%_*.*} else source=$GLOBALDIR/plmenu fi else source=$GLOBALDIR/plmenu fi sed -e "s:#wmdatadir#:$GLOBALDIR:g" \ $source > $GSDIR/Defaults/WMRootMenu else if test "x$GNUSTEP_USER_ROOT" = "x"; then sed -e "s:#wmdatadir#:$GLOBALDIR:g" \ $source > $target else sed -e "s|\$HOME/GNUstep|$GSDIR|g" \ -e "s:#wmdatadir#:$GLOBALDIR:g" \ $source > $target fi fi } <snip> to fix: :71,73s/if/elif/ Version-Release number of selected component (if applicable): WindowMaker-0.65.1-2 How Reproducible: 100%
*** Bug 53093 has been marked as a duplicate of this bug. ***
you're fix is correct, and I introduced this bug. Thanks.
This is still broken in RC2 (0.65.1-2). Is the RawHide fix before or after RC2?
After RC2 (WindowMaker-0.65.1-3)