projects
/
nowplayingd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
postinst, postrm, prerm scripts
[nowplayingd]
/
debian
/
postinst
diff --git a/debian/postinst
b/debian/postinst
new file mode 100644
(file)
index 0000000..
fe98d6c
--- /dev/null
+++ b/
debian/postinst
@@ -0,0
+1,10
@@
+#!/bin/sh -e
+
+DAEMON=/usr/bin/nowplayingd
+DSMETOOL=/usr/sbin/dsmetool
+DSMETOOL_PARAMETERS="-t"
+
+if [ -x $DAEMON ]; then
+ echo "Starting nowplayingd..."
+ $DSMETOOL $DSMETOOL_PARAMETERS $DAEMON
+fi