source: ProjectBuilder/projects/star/pbconf/1.6/star/deb/postinst@ 2634

Last change on this file since 2634 was 2634, checked in by Bruno Cornec, 4 years ago

add conf to build star with project-builder.org

File size: 561 bytes
Line 
1#!/bin/sh
2
3set -e
4
5if [ "$1" = "configure" -o "$1" = "abort-upgrade" ] ; then
6 # in case old version of star (that used /usr for its binaries) was installed
7 update-alternatives --remove mt /usr/bin/mt-star
8 update-alternatives --remove rmt /usr/sbin/rmt-star
9
10 update-alternatives --install /bin/mt mt /bin/mt-star 10 --slave /usr/share/man/man1/mt.1.gz mt.1.gz /usr/share/man/man1/mt-star.1.gz
11 update-alternatives --install /usr/sbin/rmt mt /sbin/rmt-star 10 --slave /usr/share/man/man8/rmt.1.gz rmt.1.gz /usr/share/man/man8/rmt-star.1.gz
12fi
13
Note: See TracBrowser for help on using the repository browser.