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

Revision 2640, 1.6 KB (checked in by kris, 5 months ago)

Fixed up startmldonkey and triggered a rebuild for MLDonkey

  • 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# 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/mld_hash /usr/local/bin/mld_hash
18ln -s /Programs/${PROGDIR}/.sbin/mldonkey_previewer /usr/local/bin/mldonkey_previewer
19ln -s /Programs/${PROGDIR}/.sbin/mlgui /usr/local/bin/mlgui
20ln -s /Programs/${PROGDIR}/.sbin/mlguistarter /usr/local/bin/mlguistarter
21ln -s /Programs/${PROGDIR}/.sbin/mlnet /usr/local/bin/mlnet
22ln -s /Programs/${PROGDIR}/.sbin/mlnet+gui /usr/local/bin/mlnet+gui
23ln -s /Programs/${PROGDIR}/.sbin/mlnet-real /usr/local/bin/mlnet-real
24ln -s /Programs/${PROGDIR}/.sbin/startmldonkey /usr/local/bin/startmldonkey
25ln -s /Programs/${PROGDIR}/etc/rc.d/mlnet /usr/local/etc/rc.d/mlnet
26ln -s /Programs/${PROGDIR}/share/doc/mldonkey /usr/local/share/doc/mldonkey
27ln -s /Programs/${PROGDIR}/share/examples/mldonkey /usr/local/share/examples/mldonkey
28
29echo "LAUNCHCLOSE: /usr/local/bin/startmldonkey"
Note: See TracBrowser for help on using the browser.