diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-06-10 01:27:33 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-06-10 01:27:33 +0000 |
commit | f0ec28ba2acd062a07aa577f8587dbed7c78826d (patch) | |
tree | 91c0287cf34cbea22aac72918a75bd4dd3971ed1 /net/linux-edonkey-gui-gtk/files/wrapper.sh | |
parent | Add driftnet 0.1.4, a Tool to grab images out of (your) TCP (diff) |
Update to latest developer version 0.2.0 alpha. More stable than
current version despite the "unstable" name
PR: 38845
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'net/linux-edonkey-gui-gtk/files/wrapper.sh')
-rw-r--r-- | net/linux-edonkey-gui-gtk/files/wrapper.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/net/linux-edonkey-gui-gtk/files/wrapper.sh b/net/linux-edonkey-gui-gtk/files/wrapper.sh deleted file mode 100644 index f6ca8cb91daf..000000000000 --- a/net/linux-edonkey-gui-gtk/files/wrapper.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -PREFIX="%%PREFIX%%" -PROGRAM="${0}" -DIRNAME=${HOME}/.edonkey2000-gui-gtk -DATADIR="%%DATADIR%%" -DATAFILES="%%DATAFILES%%" - -if [ ${#} -gt 1 ] -then - shift -fi - -if [ ! -d ${DIRNAME} ] -then - mkdir -p ${DIRNAME} -fi - -if [ ! -h ${DIRNAME}/${PROGRAM##*/} ] -then - ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/} - for file in ${DATAFILES} - do - ln -sf "${DATADIR}/${file}" "${DIRNAME}/${file}" - done -fi - -echo " ${*} " | grep " \-createdironly " || -{ - cd ${DIRNAME} && - echo Running under ${DIRNAME} && - exec ./${PROGRAM##*/} ${*} || - echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again -} |