openbsd-ports/audio/vagalume/patches/patch-scripts_vagalumectl
jasper 97bbca41be import vagalume 0.7
Vagalume is a Last.fm client for GNOME.
Its main features are:
    * It plays Last.fm radio streams (using protocol v1.2)
    * Support for different radio stations (personal, neighbours, loved tracks,
      or any lastfm:// URL)
    * It supports marking tracks as loved or banned
    * It can tag artists, tracks and albums
    * It can download free tracks to your hard disk
    * It sends Now Playing information following the Audioscrobbler Realtime
      Submission Protocol v1.2.
   [etc]
2008-12-16 09:12:53 +00:00

13 lines
528 B
Plaintext

$OpenBSD: patch-scripts_vagalumectl,v 1.1.1.1 2008/12/16 09:12:53 jasper Exp $
--- scripts/vagalumectl.orig Tue Dec 16 01:16:24 2008
+++ scripts/vagalumectl Tue Dec 16 01:16:57 2008
@@ -151,7 +151,7 @@ else
fi
# Check whether vagalume is or not already running
-if ! pidof vagalume > /dev/null; then
+if ! pgrep -x vagalume > /dev/null; then
if [ ${COMMAND} = "close" ]; then
# Exit cleanly without executing the 'close' command when Vagalume is not running
echo "Vagalume not running: no need to close it";