File: rhino.postinst

package info (click to toggle)
rhino 1.7R4-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,484 kB
  • sloc: java: 82,485; xml: 769; sh: 30; makefile: 30
file content (9 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e

if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then
  update-alternatives --install /usr/bin/js js /usr/bin/rhino 100 \
                      --slave /usr/share/man/man1/js.1.gz js.1.gz /usr/share/man/man1/rhino.1.gz
fi

#DEBHELPER#