Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (f69a1cb0eb21b7d58a0a437647c547d0d23c3b09)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (f69a1cb0eb21b7d58a0a437647c547d0d23c3b09)
  • Date: Sun, 21 Dec 2008 12:07:24 -0600

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

audio-players/last.fm/HISTORY | 1 +
audio-players/last.fm/INSTALL | 10 +++++++---
audio-players/last.fm/last.fm | 4 ----
3 files changed, 8 insertions(+), 7 deletions(-)

New commits:
commit 59e0beda57f1a2364eaa33bb0b90b3dd2c366710
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

last.fm: fix the installation

diff --git a/audio-players/last.fm/HISTORY b/audio-players/last.fm/HISTORY
index 1fd8bda..e81a09c 100644
--- a/audio-players/last.fm/HISTORY
+++ b/audio-players/last.fm/HISTORY
@@ -3,6 +3,7 @@
* PRE_BUILD, no-fingerprint-lib.diff: make it build, really
* INSTALL: make sure everyone has rx permission on last.fm script
* mad-asneeded.patch: not needed anymore
+ * INSTALL, last.fm: wrapper script now inline in INSTALL, chmod fixed
again

2008-02-26 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* BUILD: don't build it twice just to remove a flag
diff --git a/audio-players/last.fm/INSTALL b/audio-players/last.fm/INSTALL
index 46cc107..0341d6f 100755
--- a/audio-players/last.fm/INSTALL
+++ b/audio-players/last.fm/INSTALL
@@ -1,7 +1,11 @@
local path="$INSTALL_ROOT/usr/share/last.fm" &&
mkdir -vp "$path" &&
cp -r bin/* "$path" &&
-sed -i "s,WOOT,$TRACK_ROOT," $SPELL_DIRECTORY/last.fm &&
-cp $SPELL_DIRECTORY/last.fm "$INSTALL_ROOT/usr/bin" &&
-chmod a+rx "$INSTALL_ROOT/usr/bin" &&
+# Create the wrapper script inline here.
+# /usr/bin/last.fm -> go to /usr/share/last.fm and execute the real thing
+echo '#!/bin/bash' > "$INSTALL_ROOT/usr/bin/last.fm" &&
+echo "pushd \"$INSTALL_ROOT/usr/share/last.fm\" > /dev/null
+./last.fm.sh
+popd > /dev/null" >> $INSTALL_ROOT/usr/bin/last.fm &&
+chmod a+rx "$INSTALL_ROOT/usr/bin/last.fm" &&
default_install
diff --git a/audio-players/last.fm/last.fm b/audio-players/last.fm/last.fm
deleted file mode 100755
index f54a132..0000000
--- a/audio-players/last.fm/last.fm
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-pushd /usr/share/last.fm > /dev/null
-./last.fm.sh
-popd > /dev/null



  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (f69a1cb0eb21b7d58a0a437647c547d0d23c3b09), Thomas Orgis, 12/21/2008

Archive powered by MHonArc 2.6.24.

Top of Page