From 05de30a408b811ce5ae62287522dd8a7caff1bc0 Mon Sep 17 00:00:00 2001 From: Giuseppe Luigi Date: Fri, 4 Mar 2016 21:48:45 +0100 Subject: [PATCH] Fix install in case no /usr/local/* exists When installed the *onedrive.conf* file content was copied to the **file** /usr/local/etc, instead of creating the **missing** directory etc/ and then copying inside the file *onedrive.conf*. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6d8d5e5b..6e2c57be 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ clean: rm -f onedrive.o onedrive install: onedrive onedrive.conf - install onedrive $(DESTDIR) - install -m 644 onedrive.conf $(CONFDIR) + install onedrive $(DESTDIR)/onedrive + install -m 644 onedrive.conf $(CONFDIR)/onedrive.conf install -m 644 onedrive.service /usr/lib/systemd/user uninstall: