mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
Added -m option to run medusa-restart.
* nautilus-clean.sh: Added -m option to run medusa-restart.
This commit is contained in:
parent
ba818af560
commit
221bb955e0
|
@ -1,3 +1,7 @@
|
|||
2000-07-31 Maciej Stachowiak <mjs@eazel.com>
|
||||
|
||||
* nautilus-clean.sh: Added -m option to run medusa-restart.
|
||||
|
||||
2000-07-31 Arlo Rose <arlo@eazel.com>
|
||||
|
||||
* icons/arlo/backgrounds/background_pattern.png
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
quiet=no
|
||||
extreme=no
|
||||
medusa=no
|
||||
|
||||
if [ $# -gt 0 ]
|
||||
then
|
||||
|
@ -18,6 +19,9 @@ then
|
|||
elif [ "$arg" = "-x" ]
|
||||
then
|
||||
extreme=yes
|
||||
elif [ "$arg" = "-m" ]
|
||||
then
|
||||
medusa=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -31,6 +35,25 @@ then
|
|||
elif [ "$arg" = "-x" ]
|
||||
then
|
||||
extreme=yes
|
||||
elif [ "$arg" = "-m" ]
|
||||
then
|
||||
medusa=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $# -gt 2 ]
|
||||
then
|
||||
arg=$3
|
||||
|
||||
if [ "$arg" = "-q" ]
|
||||
then
|
||||
quiet=yes
|
||||
elif [ "$arg" = "-x" ]
|
||||
then
|
||||
extreme=yes
|
||||
elif [ "$arg" = "-m" ]
|
||||
then
|
||||
medusa=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -93,7 +116,16 @@ for NAME in $AUX_PROGS; do
|
|||
fi
|
||||
done
|
||||
|
||||
|
||||
if [ -z $FOUND_ANY ]; then
|
||||
echo_unless_quiet "nautilus-clean: No stale processes found."
|
||||
fi
|
||||
|
||||
|
||||
if [ "$medusa" = "yes" ]; then
|
||||
if [ -f `which medusa-restart 2> /dev/null || echo xxx` ]; then
|
||||
echo_unless_quiet "Restarting medusa search and index servers."
|
||||
medusa-restart
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue