about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/megasync/install-megasync.patch
blob: 7d8748528e7fa8ee405a9ffe302224156e602be7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: source/src/MEGASync/MEGASync.pro
===================================================================
--- source.orig/src/MEGASync/MEGASync.pro
+++ source/src/MEGASync/MEGASync.pro
@@ -28,11 +28,11 @@ unix:!macx {
     TARGET = megasync
 
 #    Uncomment the following if "make install" doesn't copy megasync in /usr/bin directory
-#    isEmpty(PREFIX) {
-#        PREFIX = /usr
-#    }
-#    target.path = $$PREFIX/bin
-#    INSTALLS += target
+    isEmpty(PREFIX) {
+        PREFIX = /usr
+    }
+    target.path = $$PREFIX/bin
+    INSTALLS += target
 }
 else {
     TARGET = MEGAsync