Permalink
Browse files

Update couchpotatoserver SPK so it is shipped with git

This is a requirement to be able to use the autoupdater
  • Loading branch information...
Diaoul committed Apr 20, 2012
1 parent 4e05f43 commit 7184cbc949050eaa516a1653601313016e4d52c2
Showing with 5 additions and 5 deletions.
  1. +4 −4 spk/couchpotatoserver/Makefile
  2. +1 −1 spk/couchpotatoserver/src/dsm-control.sh
@@ -4,7 +4,7 @@ SPK_REV = 1
SPK_ICON = src/couchpotatoserver.png
DSM_UI_DIR = app
-DEPENDS =
+DEPENDS = cross/git
SPK_DEPENDS = "python>=2.7.2-1"
MAINTAINER = SynoCommunity
@@ -22,11 +22,11 @@ SSS_SCRIPT = src/dsm-control.sh
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
-COPY_TARGET = nop
+#COPY_TARGET = nop
POST_STRIP_TARGET = couchpotatoserver_extra_install
# Pure Python package, make sure ARCH is not defined
-override ARCH=
+#override ARCH=
include ../../mk/spksrc.spk.mk
@@ -46,5 +46,5 @@ couchpotatoserver_extra_install: $(STAGING_DIR)/share/CouchPotatoServer
$(STAGING_DIR)/share/CouchPotatoServer:
install -m 755 -d $(STAGING_DIR)/share
cd $(STAGING_DIR)/share && git clone https://github.com/RuudBurger/CouchPotatoServer.git CouchPotatoServer
- rm -fr $(STAGING_DIR)/share/CouchPotatoServer/.git $(STAGING_DIR)/share/CouchPotatoServer/.gitignore
+# rm -fr $(STAGING_DIR)/share/CouchPotatoServer/.git $(STAGING_DIR)/share/CouchPotatoServer/.gitignore
@@ -18,7 +18,7 @@ LOG_FILE="${INSTALL_DIR}/var/logs/CouchPotato.log"
start_daemon()
{
- su - ${RUNAS} -c "PATH=${PATH} ${PYTHON} ${COUCHPOTATOSERVER} --nogit --daemon --pid_file ${PID_FILE} --config_file ${CFG_FILE}"
+ su - ${RUNAS} -c "PATH=${PATH} ${PYTHON} ${COUCHPOTATOSERVER} --daemon --pid_file ${PID_FILE} --config_file ${CFG_FILE}"
}
stop_daemon()

0 comments on commit 7184cbc

Please sign in to comment.