summary refs log blame commit diff
path: root/pkgs/applications/misc/megasync/install-megasync.patch
blob: 7d8748528e7fa8ee405a9ffe302224156e602be7 (plain) (tree)




















                                                                                           
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