https://github.com/powerman/inferno-opt-setup
Setup projects in /opt for OS Inferno
https://github.com/powerman/inferno-opt-setup
Last synced: 3 months ago
JSON representation
Setup projects in /opt for OS Inferno
- Host: GitHub
- URL: https://github.com/powerman/inferno-opt-setup
- Owner: powerman
- Created: 2015-03-30T04:29:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-31T02:20:27.000Z (almost 11 years ago)
- Last Synced: 2025-10-10T14:47:29.288Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 133 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-inferno - opt/setup - Scripts to setup /opt projects (Applications)
README
# Description
Scripts to setup projects installed in `/opt` (bind their commands, man
pages, etc. to standard places).
# Install
Make directory with these scripts available in /opt/setup/.
Install system-wide:
```
# git clone https://github.com/powerman/inferno-opt-setup.git $INFERNO_ROOT/opt/setup
```
or in your home directory:
```
$ git clone https://github.com/powerman/inferno-opt-setup.git $INFERNO_USER_HOME/opt/setup
$ emu
; bind opt /opt
```
# Usage
Add this into `profile` file in your Inferno home dir:
```
/opt/setup/cmd
/opt/setup/man
```
The `/opt/setup/cmd` will bind all commands provided by /opt packages into
`/dis/`, to let you run these commands by their name, without long
`/opt/provider/package/dis/cmd/` prefix.
The `/opt/setup/man` will bind all man pages provided by /opt packages
into `/man/*/` and union provided man indexes with `/man/*/INDEX`.