| 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 | cd /Programs/${PROGDIR} |
|---|
| 16 | |
|---|
| 17 | ln -s /Programs/${PROGDIR}/share/crack-attack /usr/local/share/crack-attack |
|---|
| 18 | ln -s /Programs/${PROGDIR}/.sbin/crack-attack /usr/local/bin/crack-attack |
|---|
| 19 | |
|---|
| 20 | echo "LAUNCHCLOSE: /usr/local/bin/crack-attack" |
|---|