diff options
author | Chuck Short <zul@gentoo.org> | 2004-01-13 03:07:41 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-01-13 03:07:41 +0000 |
commit | c0399b1634684ab65085787bdcbfcdca457b4d5c (patch) | |
tree | cac835d261464f1238a11fd7b5107c1a0ab397b4 /net-irc | |
parent | ls (diff) | |
download | gentoo-2-c0399b1634684ab65085787bdcbfcdca457b4d5c.tar.gz gentoo-2-c0399b1634684ab65085787bdcbfcdca457b4d5c.tar.bz2 gentoo-2-c0399b1634684ab65085787bdcbfcdca457b4d5c.zip |
Added more error checking to eggdrop installer.
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/eggdrop/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/eggdrop/files/eggdrop-installer | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/net-irc/eggdrop/ChangeLog b/net-irc/eggdrop/ChangeLog index 83a19c5ee3d2..45fd35d1ca63 100644 --- a/net-irc/eggdrop/ChangeLog +++ b/net-irc/eggdrop/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-irc/eggdrop -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.9 2004/01/06 02:26:53 weeve Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.10 2004/01/13 03:07:41 zul Exp $ + + 12 Jan 2004; Chuck Short <zul@gentoo.org> files/eggdrop-installer: + Added some more error checking to eggdrop-installer. 05 Jan 2004; Jason Wever <weeve@gentoo.org> eggdrop-1.6.15-r1.ebuild: Marked stable on sparc. diff --git a/net-irc/eggdrop/files/eggdrop-installer b/net-irc/eggdrop/files/eggdrop-installer index 73ac85c22b21..3aead39cc25c 100644 --- a/net-irc/eggdrop/files/eggdrop-installer +++ b/net-irc/eggdrop/files/eggdrop-installer @@ -36,6 +36,12 @@ exit 1 install_eggdrop() { + if [ -e $HOME/.eggdrop/$bot_name ]; + then + einfo "Already found a bot home directory for $bot_name" + exit 1 + fi + if [ ! -d $HOME/.eggdrop ] then mkdir -p $HOME/.eggdrop |