Browse Source

install terminus into /usr/bin on Debian (fixes #433)

Eugene Pankov 7 years ago
parent
commit
3fd57e81a6
2 changed files with 6 additions and 1 deletions
  1. 4 0
      build/linux/after-install.tpl
  2. 2 1
      package.json

+ 4 - 0
build/linux/after-install.tpl

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Link to the binary
+ln -sf '/opt/${productFilename}/${executable}' '/usr/bin/${executable}'

+ 2 - 1
package.json

@@ -120,7 +120,8 @@
         "libxtst6",
         "libnss3",
         "tmux"
-      ]
+      ],
+      "afterInstall": "build/linux/after-install.tpl"
     },
     "rpm": {
       "depends": [