check dependencies when running the script
This commit is contained in:
parent
530025978c
commit
0f9b99fb47
|
@ -24,19 +24,15 @@
|
|||
# Free Software Foundation, Inc.,
|
||||
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
# dependencies:
|
||||
# surf
|
||||
# wmctrl
|
||||
# matchbox-window-manager
|
||||
# pulseaudio-utils
|
||||
# xprintidle
|
||||
# xdotool
|
||||
# xmodmap
|
||||
# x11-xkb-utils
|
||||
#
|
||||
# recommendations:
|
||||
# unclutter
|
||||
# x11-xserver-utils
|
||||
for i in surf wmctrl blackbox xdotool xmodmap unclutter
|
||||
do
|
||||
if ! type $i
|
||||
then
|
||||
echo "$i is missing"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
VERSION="0.1.0"
|
||||
|
||||
|
|
Loading…
Reference in New Issue