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

Revision 3198, 0.9 KB (checked in by kris, 10 hours ago)

Updated BomberClone? to be 100% self-contained now :)

  • Property svn:executable set to *
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# ${1} is the directory name.
7# ${2} is the username of person performing install.
8# TIP: 'kdialog' should be used for user interaction.
9# To interact with the progress dialog echo these flags:
10# echo 'TOTALSTEPS: <num>' # Set the total steps of the progress bar
11# echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
12# echo 'MSG: <text>' # Display this text above progress bar
13#########################################
14
15
16# Check which font config we want to link to
17if [ -d "/PCBSD/local/etc/fonts" ]
18then
19  ln -s /PCBSD/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
20else
21  ln -s /usr/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
22fi
23
24echo "LAUNCHCLOSE: /Programs/bin/bomberclone"
Note: See TracBrowser for help on using the browser.