File: postinst

package info (click to toggle)
9base 1%3A6-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,460 kB
  • sloc: ansic: 61,051; yacc: 1,991; asm: 1,621; cs: 1,150; perl: 965; makefile: 615; sh: 25; sed: 4
file content (14 lines) | stat: -rw-r--r-- 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

# use alternatives to avoid conflict with the other, incompatible 'rc' package,
# and so we can maintain compatibility with rc scripts expecting /bin/rc
update-alternatives --install /bin/rc rc /usr/lib/plan9/bin/rc 20

# allow use of 9base' rc as a login shell:
add-shell /bin/rc
add-shell /usr/lib/plan9/bin/rc

#DEBHELPER#

exit 0