File: rhino.postinst

package info (click to toggle)
rhino 1.7R3-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,324 kB
  • sloc: java: 79,373; xml: 714; sh: 30; makefile: 30
file content (9 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (9)
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#