summarylogtreecommitdiffstats
path: root/0001-Fix-binary-location-to-usr-bin.patch
diff options
context:
space:
mode:
authorj.r2021-10-27 20:14:55 +0200
committerj.r2021-10-27 20:14:55 +0200
commit69b5f5cc087d42b7ae023c74ec984c1b83af6d29 (patch)
tree619dae01774f76ae76966acffb85a20abf49824e /0001-Fix-binary-location-to-usr-bin.patch
parent26515a8432d99cb91652fca3ba2ca7ecd4b8d307 (diff)
downloadaur-onedrive_tray-git.tar.gz
onedrive_tray-git: install binary to /usr/bin
Diffstat (limited to '0001-Fix-binary-location-to-usr-bin.patch')
-rw-r--r--0001-Fix-binary-location-to-usr-bin.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/0001-Fix-binary-location-to-usr-bin.patch b/0001-Fix-binary-location-to-usr-bin.patch
new file mode 100644
index 000000000000..22d4f03f248e
--- /dev/null
+++ b/0001-Fix-binary-location-to-usr-bin.patch
@@ -0,0 +1,39 @@
+From 52bed3d54b20981f85e0eabd1914442b2a348e2b Mon Sep 17 00:00:00 2001
+From: "j.r" <j.r@jugendhacker.de>
+Date: Wed, 27 Oct 2021 19:29:50 +0200
+Subject: [PATCH] Fix binary location to /usr/bin
+
+---
+ onedrive_tray.service | 2 +-
+ systray.pro | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/onedrive_tray.service b/onedrive_tray.service
+index 9b076f8..31064ed 100644
+--- a/onedrive_tray.service
++++ b/onedrive_tray.service
+@@ -5,7 +5,7 @@ After=network-online.target
+ Wants=network-online.target
+
+ [Service]
+-ExecStart=/usr/local/bin/onedrive_tray -s
++ExecStart=/usr/bin/onedrive_tray -s
+ Restart=on-failure
+ RestartSec=7
+ RestartPreventExitStatus=3
+diff --git a/systray.pro b/systray.pro
+index b5b3155..1dc5cda 100644
+--- a/systray.pro
++++ b/systray.pro
+@@ -4,7 +4,7 @@ DEPENDPATH += .
+ INCLUDEPATH += .
+
+ # Install info
+-target.path += /usr/local/bin/
++target.path += /usr/bin/
+ unitfile.path += /usr/lib/systemd/user/
+ unitfile.files = onedrive_tray.service
+ INSTALLS += target
+--
+2.33.1
+