root/pbibuild/modules/bzflag/overlay-dir/PBI.SetupScript.sh

Revision 1129, 1.4 KB (checked in by gonzalo, 12 months ago)

BZFlag added

Line 
1#!/bin/sh
2# Filename: PBI.SetupScript.sh
3# Place any custom installation code here.
4# This script will be run after your program is extracted into
5# /Programs/<ProgNameVer>/
6# Available variables:
7# $PROGDIR - Directory where the files will be extracted to.
8# $USERNAME - Username of who started the installation.
9# $INSTALLMODE - Set to 'TEXT' or 'GUI', depending on which installer is running.
10#
11# TIP: 'kdialog' should be used for user interaction.
12# To interact with the progress dialog echo these flags:
13# echo 'TOTALSTEPS: <num>' # Set the total steps of the progress bar
14# echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
15# echo 'MSG: <text>' # Display this text above progress bar
16#########################################
17ln -s /Programs/${PROGDIR}/.sbin/bzadmin /usr/local/bin/bzadmin
18ln -s /Programs/${PROGDIR}/.sbin/bzflag /usr/local/bin/bzflag
19ln -s /Programs/${PROGDIR}/.sbin/bzfs /usr/local/bin/bzfs
20ln -s /Programs/${PROGDIR}/man/man5/bzw.5.gz /usr/local/man/man5/bzw.5.gz
21ln -s /Programs/${PROGDIR}/man/man6/bzadmin.6.gz /usr/local/man/man6/bzadmin.6.gz
22ln -s /Programs/${PROGDIR}/man/man6/bzflag.6.gz /usr/local/man/man6/bzflag.6.gz
23ln -s /Programs/${PROGDIR}/man/man6/bzfquery.6.gz /usr/local/man/man6/bzfquery.6.gz
24ln -s /Programs/${PROGDIR}/man/man6/bzfs.6.gz /usr/local/man/man6/bzfs.6.gz
25ln -s /Programs/${PROGDIR}/share/bzflag /usr/local/share/bzflag
26
27echo "LAUNCHCLOSE: /usr/local/bin/bzflag"
Note: See TracBrowser for help on using the browser.