notify if trans not installed
This commit is contained in:
parent
3bdd14e69d
commit
8afa2eb59b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# If transmission-daemon is running, will ask to kill, else will ask to start.
|
# 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 ;
|
if pgrep -x transmission-da >/dev/null ;
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue