diff options
Diffstat (limited to 'bin/updater/Makefile')
-rw-r--r-- | bin/updater/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/updater/Makefile b/bin/updater/Makefile index 193ce39e7..0192126c6 100644 --- a/bin/updater/Makefile +++ b/bin/updater/Makefile @@ -2,12 +2,12 @@ all: install install: install-systemd -preinit: +preinitsetup: mkdir -p /etc/owncloud/news cp $(CURDIR)/example-config.ini /etc/owncloud/news/updater.ini python3 setup.py install -install-systemd: preinit +install-systemd: preinitsetup cp $(CURDIR)/systemd/owncloud-news-updater.service /etc/systemd/system/ @echo "Installed files. Please edit your config in /etc/owncloud/news/updater.ini and run:" @@ -18,7 +18,7 @@ install-systemd: preinit @echo "to reload the changes if you change the config in /etc/owncloud/news/updater.ini" -install-sysvinit: preinit +install-sysvinit: preinitsetup cp $(CURDIR)/sysvinit/owncloud-news-updater /etc/rc.d/ @echo "Installed files. Please edit your config in /etc/owncloud/news/updater.ini and run:" |