-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path1.5.lua
19 lines (16 loc) · 797 Bytes
/
1.5.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
help([[
ptouch-print: Print Labels on Brother P-touch Printers on Linux
]])
local name = myModuleName()
local version = myModuleVersion()
whatis("Version: " .. version)
whatis("Keywords: tools, printing")
whatis("URL: https://dominic.familie-radermacher.ch/projekte/ptouch-print/, https://github.com/HenrikBengtsson/brother-ptouch-label-printer-on-linux (docs), https://git.familie-radermacher.ch/linux/ptouch-print.git (source code)")
whatis([[
Description: Print labels on Brother P-touch printers on Linux.
Examples: `print-touch --help`, `print-touch --version`, and `man print-touch`.
]])
local root = os.getenv("SOFTWARE_ROOT_MANUAL")
local home = pathJoin(root, name .. "-" .. version)
prepend_path("PATH", pathJoin(home, "bin"))
prepend_path("MANPATH", pathJoin(home, "share", "man"))