3 [ -d /var/lib/klinpopup ] || mkdir -vp -m 0777 /var/lib/klinpopup
4 [ -z "$(grep receivepopup.sh /etc/samba/smb.conf)" ] && cat << EOF
6 ==> For KLinPopup to work, you must configure Samba correctly.
8 ==> Add or change the line in /etc/samba/smb.conf:
9 ==> message command = sh -c '/opt/kde/bin/receivepopup.sh "%f" "%m" "%I" "%s"' &
21 ==> You should remove the directory /var/lib/klinpopup
22 ==> if you no longer plan on using KLinPopup in the future.