Ticket #63935: patch-install-prefix.diff.diff

File patch-install-prefix.diff.diff, 814 bytes (added by someuser12, 3 years ago)
  • files/patch-install-prefix.diff

    old new  
    1 --- src/command-installer.js    2017-11-03 11:57:00.000000000 -0400
    2 +++ src/command-installer.js    2017-11-16 20:54:36.000000000 -0500
    3 @@ -12,7 +12,7 @@
     1--- src/command-installer.js.orig       2021-07-26 18:55:51.000000000 +0200
     2+++ src/command-installer.js    2021-11-12 16:54:47.000000000 +0100
     3@@ -11,7 +11,7 @@
    44   }
    55 
    6    getInstallDirectory () {
    7 -    return '/usr/local/bin'
    8 +    return '@@PREFIX@@/bin'
     6   getInstallDirectory() {
     7-    return '/usr/local/bin';
     8+    return '@@PREFIX@@/bin';
    99   }
    1010 
    11    getResourcesDirectory () {
     11   getResourcesDirectory() {