diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-06-29 16:34:12 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-06-29 16:34:12 +0000 |
commit | 70b4bd48c001fa687afc1eb9f8aaadc03b3ea92d (patch) | |
tree | a791df2368853cd244c280fec0f5d99043a0f559 /net-p2p | |
parent | sync IUSE (+perl) (diff) | |
download | historical-70b4bd48c001fa687afc1eb9f8aaadc03b3ea92d.tar.gz historical-70b4bd48c001fa687afc1eb9f8aaadc03b3ea92d.tar.bz2 historical-70b4bd48c001fa687afc1eb9f8aaadc03b3ea92d.zip |
better startup script (#52900)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/xmule/ChangeLog | 5 | ||||
-rw-r--r-- | net-p2p/xmule/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/xmule/files/xmule.sh | 22 |
3 files changed, 17 insertions, 14 deletions
diff --git a/net-p2p/xmule/ChangeLog b/net-p2p/xmule/ChangeLog index d95933e9dde5..111f605b4ace 100644 --- a/net-p2p/xmule/ChangeLog +++ b/net-p2p/xmule/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-p2p/xmule # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/xmule/ChangeLog,v 1.38 2004/06/28 16:20:56 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/xmule/ChangeLog,v 1.39 2004/06/29 16:34:12 squinky86 Exp $ + + 29 Jun 2004; Jon Hood <squinky86@gentoo.org> files/xmule.sh: + better startup script by Evert <evert.alpha@planet.nl>, closes #52900 *xmule-1.8.2-r3 (28 Jun 2004) diff --git a/net-p2p/xmule/Manifest b/net-p2p/xmule/Manifest index 153486d9b46f..2d5f71e3a974 100644 --- a/net-p2p/xmule/Manifest +++ b/net-p2p/xmule/Manifest @@ -8,7 +8,7 @@ MD5 b35448f0136134e43c9dc8bd10e97ff9 xmule-1.6.0a-r1.ebuild 1131 MD5 5866d00d0eada5cce0db517f8290e149 xmule-1.8.2.ebuild 1342 MD5 029adc5ac8a24ba75d7074c302fa3850 xmule-1.7.4c.ebuild 1375 MD5 dcf56b1dc4d057fd8126f99bcddf249d xmule-1.8.2-r2.ebuild 1380 -MD5 4ff6218270f80c665ffa10a6beeccdca ChangeLog 4912 +MD5 37918e0b6552d18a67cb69955a322e02 ChangeLog 5048 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 MD5 1135d70abe10f56fe3b0590aa3cae9c9 files/ini2.patch 273 MD5 d4e66918eaa0f6b42f988409ae3c218f files/rehash.patch 348 @@ -19,7 +19,7 @@ MD5 7adc6014458471c8eeaea9d9cbf18b2a files/digest-xmule-1.8.1 65 MD5 4a160dd11195bb437e2c23345b3ded06 files/digest-xmule-1.8.2 65 MD5 ae3ef316b6a6a3cc8b670289ed08ee79 files/digest-xmule-1.6.0a 65 MD5 20de5f5c6c7ea1fcf2a8f66c6e5a20fc files/digest-xmule-1.7.4c 66 -MD5 686cd2ca1f9c40c8b9712441f1d4788b files/xmule.sh 468 +MD5 8b1e8db7ffe51b7a0cebee62f5c116ba files/xmule.sh 567 MD5 a315a0afb15453b08ffb71352b707136 files/digest-xmule-1.8.2-r1 66 MD5 975033c3b074bc4843c273182226a745 files/digest-xmule-1.8.2-r2 132 MD5 975033c3b074bc4843c273182226a745 files/digest-xmule-1.8.2-r3 132 diff --git a/net-p2p/xmule/files/xmule.sh b/net-p2p/xmule/files/xmule.sh index e749e2904658..4bc0f19b6b86 100644 --- a/net-p2p/xmule/files/xmule.sh +++ b/net-p2p/xmule/files/xmule.sh @@ -1,16 +1,16 @@ #!/bin/sh # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/xmule/files/xmule.sh,v 1.1 2004/06/28 16:20:57 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/xmule/files/xmule.sh,v 1.2 2004/06/29 16:34:12 squinky86 Exp $ -if [ ! -e ~/.xMule ]; then - echo "Creating ~/.xMule..." - mkdir ~/.xMule - echo "Copying required files to ~/.xMule..." - mkdir ~/.xMule/resource - cp /usr/share/xmule/*.pm ~/.xMule/resource/ - echo "Starting xMule..." - xmule-bin -else - xmule-bin +if [ ! -d ~/.xMule ]; then + echo "Creating ~/.xMule..." + mkdir ~/.xMule || exit 1 fi +if [ ! -d ~/.xMule/resource ]; then + echo "Copying required files to ~/.xMule..." + mkdir ~/.xMule/resource || exit 1 + cp /usr/share/xmule/*.pm ~/.xMule/resource/ || exit 1 + echo "Starting xMule..." +fi +exec xmule-bin |