summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-04 20:40:54 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-12-04 20:40:54 +0100
commit4f33558165f1bcf1a3a7278d557f58b543350ca4 (patch)
treed5e9917e0fa42165bc7ab89f6f11165152fbaf2f /bin
parenta226edc3c6b2a7feb62aa39abc38bcda4e18770a (diff)
define scripts installation directory
Diffstat (limited to 'bin')
-rw-r--r--bin/updater/Makefile2
-rwxr-xr-xbin/updater/sysvinit/owncloud-news-updater2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/updater/Makefile b/bin/updater/Makefile
index 12bcf7357..586ceb297 100644
--- a/bin/updater/Makefile
+++ b/bin/updater/Makefile
@@ -19,7 +19,7 @@ update: clean
preinitsetup: clean
mkdir -p /etc/owncloud/news
cp $(CURDIR)/example-config.ini /etc/owncloud/news/updater.ini
- python3 setup.py install
+ python3 setup.py install --install-scripts=/usr/bin
install-systemd: preinitsetup
diff --git a/bin/updater/sysvinit/owncloud-news-updater b/bin/updater/sysvinit/owncloud-news-updater
index b3f58c01c..746767b52 100755
--- a/bin/updater/sysvinit/owncloud-news-updater
+++ b/bin/updater/sysvinit/owncloud-news-updater
@@ -11,7 +11,7 @@
### END INIT INFO
# Change the next 3 lines to suit where you install your script and what you want to call it
-DAEMON=/usr/local/bin/owncloud-news-updater
+DAEMON=/usr/bin/owncloud-news-updater
DAEMON_NAME=owncloud-news-updater
# Add any command line options for your Update Script here. I suggest loading an config file which holds user, pass etc.