all repos — fluxbox @ 3b9b77d6c7a23b1ad4ea764a9ab6ed5f5ca5aa31

custom fork of the fluxbox windowmanager

minor fix from Han
fluxgen fluxgen
commit

3b9b77d6c7a23b1ad4ea764a9ab6ed5f5ca5aa31

parent

90668420cbce353de4664eadff25ebd920bde389

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M util/fluxbox-generate_menuutil/fluxbox-generate_menu

@@ -22,13 +22,14 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # -# $Id: fluxbox-generate_menu,v 1.27 2003/04/08 09:39:37 fluxgen Exp $ +# $Id: fluxbox-generate_menu,v 1.28 2003/04/09 08:59:03 fluxgen Exp $ # # Portability notes: # To guarantee this script works on all platforms that support fluxbox # please keep the following restrictions in mind: # +# don't use [ -e file ] use [ -r file ] # don't use $(), use `` # don't use ~, use ${HOME} # don't use id -u, use whoami

@@ -485,7 +486,7 @@ HOMEPAGE="fluxbox.org"

USERMENU="${HOME}/.fluxbox/usermenu" # Read the menuconfig file if it exists or else create it. -if [[ -e ${HOME}/.fluxbox/menuconfig ]];then +if [ -r ${HOME}/.fluxbox/menuconfig ];then . ${HOME}/.fluxbox/menuconfig else if [ ! "$WHOAMI" = root ];then # this is only for users.