diff --git a/notify.sh b/notify.sh index 168ca58..306f5e2 100755 --- a/notify.sh +++ b/notify.sh @@ -1,7 +1,8 @@ #! /bin/bash # Get icon -ICON=`pwd`/tux.png +SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" +ICON=${SCRIPTPATH}/tux.png # Get installed kernel version CURRENT=`uname -r|cut -d'-' -f 1` # Get last available stable version @@ -9,6 +10,6 @@ INFO=`curl -Ls https://www.kernel.org/ | perl -lne 'BEGIN{$/=""} print "$1 $2" i /latest_link.*?(.*?)