Remove wm-ng
authorChristian Hofstaedtler <ch@grml.org>
Tue, 15 Nov 2011 14:37:36 +0000 (15:37 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Tue, 15 Nov 2011 14:37:36 +0000 (15:37 +0100)
debian/rules
usr_bin/wm-ng [deleted file]

index a7b972d..6681dc6 100755 (executable)
@@ -54,7 +54,6 @@ binary-arch: build install
        dh_testroot
        dh_installchangelogs
        dh_installdocs
-       dh_installwm --priority=20 /usr/bin/wm-ng
        dh_installman $(wildcard doc/*.gz)
        dh_installman $(wildcard manpages/*.1) $(wildcard manpages/*.8)
        dh_link /usr/bin/soundtest /usr/bin/grml-soundtest
@@ -91,8 +90,7 @@ binary-arch: build install
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/pong.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/soundtest.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/unblacklist.1.gz \
-               /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/vmware-detect.1.gz \
-               /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/wm-ng.1.gz
+               /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/vmware-detect.1.gz
        dh_strip
        dh_compress
        mkdir -p $(CURDIR)/debian/grml-scripts/usr/share/lintian/overrides/
diff --git a/usr_bin/wm-ng b/usr_bin/wm-ng
deleted file mode 100755 (executable)
index d8fc87a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-# Filename:      wm-ng
-# Purpose:       a wrapper script to call fluxbox with some additional features activated
-# Authors:       grml-team (grml.org)
-# Bug-Reports:   see http://grml.org/bugs/
-# License:       This file is licensed under the GPL v2.
-################################################################################
-
-# start Grml's fluxbox setup only if fluxbox is present
-if [ -x "$(which fluxbox 2>/dev/null)" ] ; then
-  gkrellm -g -1+26 &
-  (sleep 2; idesk &) &
-  fluxbox
-elif [ "$(basename $(readlink -f $(which x-window-manager 2>/dev/null)))" != "fluxbox" ] && \
-     [ "$(basename $(readlink -f $(which x-window-manager 2>/dev/null)))" != "$(basename $0)" ] ; then
-    # fall back unless it's set to fluxbox or points back to wm-ng
-    x-window-manager
-else
-  echo "Error: fluxbox not present + x-window-manager is not an alternative neither." >&2
-  exit 1
-fi
-
-exit $?
-
-## END OF FILE #################################################################