aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-03-16 17:34:58 (GMT)
committerfluxgen <fluxgen>2004-03-16 17:34:58 (GMT)
commit2f8964d3e47e3a41f9091640d7a1cdc0d464c762 (patch)
tree248d36e3fe91e21e8dcbb102a36a028c5538b9f6 /util
parentca9f4848835e22a4bd19ac78c6b8ace84e393ca5 (diff)
downloadfluxbox_pavel-2f8964d3e47e3a41f9091640d7a1cdc0d464c762.zip
fluxbox_pavel-2f8964d3e47e3a41f9091640d7a1cdc0d464c762.tar.bz2
patch from Han
Diffstat (limited to 'util')
-rwxr-xr-xutil/fluxbox-generate_menu.in34
1 files changed, 18 insertions, 16 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index 0c6523b..312d68a 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.15 2004/03/03 07:43:38 fluxgen Exp $ 25# $Id: fluxbox-generate_menu.in,v 1.16 2004/03/16 17:34:58 fluxgen Exp $
26 26
27# 27#
28# Portability notes: 28# Portability notes:
@@ -1289,21 +1289,23 @@ if [ ! "${REMOVE}" ]; then
1289fi 1289fi
1290 1290
1291# Signal all running fluxbox'es to reload their menu. 1291# Signal all running fluxbox'es to reload their menu.
1292case `uname` in 1292if [ ! "${INSTALL}" = Yes ]; then
1293 *BSD|Linux) 1293 case `uname` in
1294 for i in `ps xco pid,command|awk '/fluxbox$/ {print $1}'`; do 1294 *BSD|Linux)
1295 kill -s USR2 $i 2>&1 >/dev/null 1295 for i in `ps xco pid,command|awk '/fluxbox$/ {print $1}'`; do
1296 done 1296 kill -s USR2 $i 2>&1 >/dev/null
1297 ;; 1297 done
1298 SunOS) 1298 ;;
1299 for i in `ps -eco pid,comm|awk '/fluxbox$/ {print $1}'`; do 1299 SunOS)
1300 kill -s USR2 $i 2>&1 >/dev/null 1300 for i in `ps -eco pid,comm|awk '/fluxbox$/ {print $1}'`; do
1301 done 1301 kill -s USR2 $i 2>&1 >/dev/null
1302 ;; 1302 done
1303 *) 1303 ;;
1304 echo 'You have to reload the settings manually.' 1304 *)
1305 ;; 1305 echo 'You have to reload the settings manually.'
1306esac 1306 ;;
1307 esac
1308fi
1307 1309
1308echo 'Menu successfully generated.' 1310echo 'Menu successfully generated.'
1309echo 'Use fluxbox-generate_menu -h to read about all the latest features.' 1311echo 'Use fluxbox-generate_menu -h to read about all the latest features.'