1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00

added option to disable switchpanel

fixed some bugs
This commit is contained in:
kojima
2004-10-27 02:54:32 +00:00
parent ac87ca5596
commit d63a0b4859
9 changed files with 50 additions and 34 deletions

View File

@@ -75,7 +75,9 @@ which1()
# Expand macros if necessary.
# Create a temp copy of the menu file to edit to turn into the new.
#
T=/tmp/wmmenu$$
TD=$(/bin/mktemp -d /tmp/wmmenu.XXXXXX) || { echo "$0: can not create temporary file" >& 2; exit 1; }
T=$TD/wmmenu$$
echo "Converting $GLW/$OLD_MENU --> $GD/$NEW_MENU"
cd $WLW || exit 1
if [ ! -s "$OLD_MENU" ]
@@ -198,7 +200,8 @@ END {
}
' > $WD/$NEW_MENU.new || exit 1
rm $T
rm -f $T
rm -fr $TD
#
# Now install it.