~ubuntu-branches/debian/sid/onedrive/sid

« back to all changes in this revision

Viewing changes to debian/patches/fix-service-file

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2016-10-29 14:55:42 UTC
  • Revision ID: package-import@ubuntu.com-20161029145542-hjnmjenhcp0fyi6d
Tags: 1.1.20161012-2
add patch to fix service file, and install it into right place
(Closes: #842426) (Thanks to Alam Arias)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 Makefile         |    2 +-
 
3
 onedrive.service |    2 +-
 
4
 2 files changed, 2 insertions(+), 2 deletions(-)
 
5
 
 
6
--- onedrive.git.orig/onedrive.service
 
7
+++ onedrive.git/onedrive.service
 
8
@@ -3,7 +3,7 @@
 
9
 Documentation=https://github.com/skilion/onedrive
 
10
 
 
11
 [Service]
 
12
-ExecStart=/usr/local/bin/onedrive -m
 
13
+ExecStart=/usr/bin/onedrive -m
 
14
 Restart=no
 
15
 
 
16
 [Install]
 
17
--- onedrive.git.orig/Makefile
 
18
+++ onedrive.git/Makefile
 
19
@@ -29,5 +29,5 @@
 
20
 install: onedrive onedrive.conf
 
21
        install onedrive $(DESTDIR)/usr/bin/onedrive
 
22
        install -m 644 onedrive.conf $(DESTDIR)/etc/onedrive.conf
 
23
-       install -m 644 onedrive.service $(DESTDIR)/lib/systemd/user
 
24
+       install -m 644 onedrive.service $(DESTDIR)/usr/lib/systemd/user
 
25