Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merging evolchek's pull request.

  • Loading branch information...
commit 723db7ccafad1ee3b9988b1d57a72cff804ac262 1 parent 421d2bb
authored January 31, 2012

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. 7  mpdnotify
7  mpdnotify
@@ -201,7 +201,12 @@ stop_daemon() {
201 201
 
202 202
 ### constants
203 203
 
204  
-mydir="$XDG_CONFIG_HOME/mpdnotify"
  204
+
  205
+if [ "$XDG_CONFIG_HOME" ]; then
  206
+	mydir="$XDG_CONFIG_HOME/mpdnotify"
  207
+else
  208
+	mydir="$HOME/.config/mpdnotify"
  209
+fi
205 210
 
206 211
 config="$mydir/config"
207 212
 

0 notes on commit 723db7c

Please sign in to comment.
Something went wrong with that request. Please try again.