check dependencies when running the script

This commit is contained in:
Solene Rapenne 2022-10-11 13:46:20 +02:00
parent 530025978c
commit 0f9b99fb47
1 changed files with 9 additions and 13 deletions

View File

@ -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"