mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +02:00
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*.
This commit is contained in:
parent
5ed7dfcf3c
commit
05de30a408
4
Makefile
4
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:
|
||||
|
|
Loading…
Reference in a new issue