patch from Han
This commit is contained in:
parent
ca9f484883
commit
2f8964d3e4
1 changed files with 18 additions and 16 deletions
|
@ -22,7 +22,7 @@
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
# DEALINGS IN THE SOFTWARE.
|
# DEALINGS IN THE SOFTWARE.
|
||||||
#
|
#
|
||||||
# $Id: fluxbox-generate_menu.in,v 1.15 2004/03/03 07:43:38 fluxgen Exp $
|
# $Id: fluxbox-generate_menu.in,v 1.16 2004/03/16 17:34:58 fluxgen Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Portability notes:
|
# Portability notes:
|
||||||
|
@ -1289,21 +1289,23 @@ if [ ! "${REMOVE}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Signal all running fluxbox'es to reload their menu.
|
# Signal all running fluxbox'es to reload their menu.
|
||||||
case `uname` in
|
if [ ! "${INSTALL}" = Yes ]; then
|
||||||
*BSD|Linux)
|
case `uname` in
|
||||||
for i in `ps xco pid,command|awk '/fluxbox$/ {print $1}'`; do
|
*BSD|Linux)
|
||||||
kill -s USR2 $i 2>&1 >/dev/null
|
for i in `ps xco pid,command|awk '/fluxbox$/ {print $1}'`; do
|
||||||
done
|
kill -s USR2 $i 2>&1 >/dev/null
|
||||||
;;
|
done
|
||||||
SunOS)
|
;;
|
||||||
for i in `ps -eco pid,comm|awk '/fluxbox$/ {print $1}'`; do
|
SunOS)
|
||||||
kill -s USR2 $i 2>&1 >/dev/null
|
for i in `ps -eco pid,comm|awk '/fluxbox$/ {print $1}'`; do
|
||||||
done
|
kill -s USR2 $i 2>&1 >/dev/null
|
||||||
;;
|
done
|
||||||
*)
|
;;
|
||||||
echo 'You have to reload the settings manually.'
|
*)
|
||||||
;;
|
echo 'You have to reload the settings manually.'
|
||||||
esac
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
echo 'Menu successfully generated.'
|
echo 'Menu successfully generated.'
|
||||||
echo 'Use fluxbox-generate_menu -h to read about all the latest features.'
|
echo 'Use fluxbox-generate_menu -h to read about all the latest features.'
|
||||||
|
|
Loading…
Reference in a new issue