removes the reload-menu code which is obsolete since Mathias's latest patch, patch from Han

This commit is contained in:
fluxgen 2004-03-19 09:37:23 +00:00
parent 023f1a0953
commit 03d9fec7f4

View file

@ -22,7 +22,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
# $Id: fluxbox-generate_menu.in,v 1.16 2004/03/16 17:34:58 fluxgen Exp $
# $Id: fluxbox-generate_menu.in,v 1.17 2004/03/19 09:37:23 fluxgen Exp $
#
# Portability notes:
@ -1288,24 +1288,5 @@ if [ ! "${REMOVE}" ]; then
clean_up
fi
# Signal all running fluxbox'es to reload their menu.
if [ ! "${INSTALL}" = Yes ]; then
case `uname` in
*BSD|Linux)
for i in `ps xco pid,command|awk '/fluxbox$/ {print $1}'`; do
kill -s USR2 $i 2>&1 >/dev/null
done
;;
SunOS)
for i in `ps -eco pid,comm|awk '/fluxbox$/ {print $1}'`; do
kill -s USR2 $i 2>&1 >/dev/null
done
;;
*)
echo 'You have to reload the settings manually.'
;;
esac
fi
echo 'Menu successfully generated.'
echo 'Use fluxbox-generate_menu -h to read about all the latest features.'