summaryrefslogtreecommitdiff
path: root/net/linux-agsatellite/files/wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/linux-agsatellite/files/wrapper.sh')
-rw-r--r--net/linux-agsatellite/files/wrapper.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/net/linux-agsatellite/files/wrapper.sh b/net/linux-agsatellite/files/wrapper.sh
deleted file mode 100644
index e53603d86a76..000000000000
--- a/net/linux-agsatellite/files/wrapper.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%"
-PROGRAM="${0}"
-
-if [ ! -d ${HOME}/.agsatellite ]
-then
- mkdir -p ${HOME}/.agsatellite
-fi
-
-if [ ! -h ${HOME}/.agsatellite/${PROGRAM##*/} ]
-then
- ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${HOME}/.agsatellite/${PROGRAM##*/}
-fi
-
-echo " ${*} " | grep " \-createdironly " ||
-{
- cd ${HOME}/.agsatellite &&
- echo Running Audio Galaxy Satellite under ${HOME}/.agsatellite &&
- echo Create both account.txt and shares.txt files under ${HOME}/.agsatellite &&
- exec ./${PROGRAM##*/} ${*} ||
- echo PROBLEM. Cannot create directory ${HOME}/.agsatellite, make sure you have the proper permissions to create itnd try again
-}