notify if trans not installed

This commit is contained in:
Luke Smith 2018-12-09 14:30:31 -05:00
parent 3bdd14e69d
commit 8afa2eb59b

View file

@ -2,7 +2,7 @@
# If transmission-daemon is running, will ask to kill, else will ask to start.
[ ! -f /usr/bin/transmission-daemon ] && echo "Transmission not installed." && exit
[ ! -f /usr/bin/transmission-daemon ] && notify-send "Transmission daemon not installed." && exit
if pgrep -x transmission-da >/dev/null ;
then