summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.