diff options
Diffstat (limited to 'net-p2p/mldonkey-gui/files/wrapper.sh')
-rw-r--r-- | net-p2p/mldonkey-gui/files/wrapper.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net-p2p/mldonkey-gui/files/wrapper.sh b/net-p2p/mldonkey-gui/files/wrapper.sh deleted file mode 100644 index c25fd62bc133..000000000000 --- a/net-p2p/mldonkey-gui/files/wrapper.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -PREFIX="%%PREFIX%%/bin" -PROGRAM="${0}" -DIRNAME=${HOME}/.mldonkey - -if [ ! -d ${DIRNAME} ] -then - mkdir -p ${DIRNAME} -fi - -echo " ${*} " | grep " \-createdironly " || -{ - cd ${DIRNAME} && - echo Running under ${DIRNAME} && - exec ${PREFIX}/${PROGRAM##*/}-real "${@}" || - echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again -} |