sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Puppet_Master (a5b9f9b082946369241acfba9e393f47b515b000)
- From: Puppet_Master <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Puppet_Master (a5b9f9b082946369241acfba9e393f47b515b000)
- Date: Wed, 16 Dec 2009 04:34:18 -0600
GIT changes to master grimoire by Puppet_Master <puppetmaster AT sourcemage.org>:
audio-players/mpd/HISTORY | 3 +++
audio-players/mpd/init.d/mpd | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 2b8499e3528a3910fe738758cc013391f20a3fda
Author: Philippe Caseiro <puppetmaster AT sourcemage.org>
Commit: Puppet_Master <puppetmaster AT sourcemage.org>
mpd: Changing condition on mpd init script
Testing if db file don't exist instead of variable content
wiht the new global configuration file the variable allays have
content so database creation never start.
diff --git a/audio-players/mpd/HISTORY b/audio-players/mpd/HISTORY
index d94f41b..d77eaf5 100644
--- a/audio-players/mpd/HISTORY
+++ b/audio-players/mpd/HISTORY
@@ -1,3 +1,6 @@
+2009-12-16 Philippe "Puppet_Master" Caseiro <puppetmaster AT sourcemage.org>
+ * init.d/mpd : Testing if db file exist instead of variable content
+
2009-11-19 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 0.15.6
diff --git a/audio-players/mpd/init.d/mpd b/audio-players/mpd/init.d/mpd
index 251e79d..0f937de 100644
--- a/audio-players/mpd/init.d/mpd
+++ b/audio-players/mpd/init.d/mpd
@@ -6,6 +6,6 @@ RUNLEVEL=3
NEEDS=""
MPD_DB="$(grep db_file /etc/sysconfig/mpd | cut -d \" -f 2)"
-[[ -z $MPD_DB ]] && ARGS="$ARGS --create-db"
+[[ ! -f $MPD_DB ]] && ARGS="$ARGS --create-db"
. /etc/init.d/smgl_init
- [SM-Commit] GIT changes to master grimoire by Puppet_Master (a5b9f9b082946369241acfba9e393f47b515b000), Puppet_Master, 12/16/2009
Archive powered by MHonArc 2.6.24.