aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-03-19 09:37:23 (GMT)
committerfluxgen <fluxgen>2004-03-19 09:37:23 (GMT)
commit03d9fec7f4435395895165b2e1700186317430a5 (patch)
tree62229f9d2dba5c3301bd010078f238c17b8cda6b
parent023f1a095370003092bd0a08bbfe78a3e8a485be (diff)
downloadfluxbox-03d9fec7f4435395895165b2e1700186317430a5.zip
fluxbox-03d9fec7f4435395895165b2e1700186317430a5.tar.bz2
removes the reload-menu code which is obsolete since Mathias's latest patch, patch from Han
-rwxr-xr-xutil/fluxbox-generate_menu.in21
1 files changed, 1 insertions, 20 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index 312d68a..d8c7f02 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -22,7 +22,7 @@
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24# 24#
25# $Id: fluxbox-generate_menu.in,v 1.16 2004/03/16 17:34:58 fluxgen Exp $ 25# $Id: fluxbox-generate_menu.in,v 1.17 2004/03/19 09:37:23 fluxgen Exp $
26 26
27# 27#
28# Portability notes: 28# Portability notes:
@@ -1288,24 +1288,5 @@ if [ ! "${REMOVE}" ]; then
1288 clean_up 1288 clean_up
1289fi 1289fi
1290 1290
1291# Signal all running fluxbox'es to reload their menu.
1292if [ ! "${INSTALL}" = Yes ]; then
1293 case `uname` in
1294 *BSD|Linux)
1295 for i in `ps xco pid,command|awk '/fluxbox$/ {print $1}'`; do
1296 kill -s USR2 $i 2>&1 >/dev/null
1297 done
1298 ;;
1299 SunOS)
1300 for i in `ps -eco pid,comm|awk '/fluxbox$/ {print $1}'`; do
1301 kill -s USR2 $i 2>&1 >/dev/null
1302 done
1303 ;;
1304 *)
1305 echo 'You have to reload the settings manually.'
1306 ;;
1307 esac
1308fi
1309
1310echo 'Menu successfully generated.' 1291echo 'Menu successfully generated.'
1311echo 'Use fluxbox-generate_menu -h to read about all the latest features.' 1292echo 'Use fluxbox-generate_menu -h to read about all the latest features.'