summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <luke-jr@gentoo.org>2003-12-10 22:54:06 +0000
committer <luke-jr@gentoo.org>2003-12-10 22:54:06 +0000
commitf558fce2adde2f38e11ffae917c6eb995f95ee53 (patch)
tree0b757aac441ab78be5565fee1f25f818f3d77fcb /net-p2p/azureus-bin/files/azureus.sh
parentMake it depend on ruby16 (diff)
downloadhistorical-f558fce2adde2f38e11ffae917c6eb995f95ee53.tar.gz
historical-f558fce2adde2f38e11ffae917c6eb995f95ee53.tar.bz2
historical-f558fce2adde2f38e11ffae917c6eb995f95ee53.zip
Fixed a bug with upgrade notice
Diffstat (limited to 'net-p2p/azureus-bin/files/azureus.sh')
-rw-r--r--net-p2p/azureus-bin/files/azureus.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/azureus-bin/files/azureus.sh b/net-p2p/azureus-bin/files/azureus.sh
index a78b13799d66..11b76c4a69de 100644
--- a/net-p2p/azureus-bin/files/azureus.sh
+++ b/net-p2p/azureus-bin/files/azureus.sh
@@ -14,9 +14,9 @@ while [ $run -gt 0 ]
do
java -cp Azureus2.jar:swt.jar:swt-pi.jar:systray4j.jar:commons-cli-1.0.jar \
-Djava.library.path="$AZDIR:$AZDIR/lib" org.gudy.azureus2.ui.common.Main $*
- if [ -f Azureus2-new.jar ]
+ if [ -f Azureus2-new.jar ] || [ -f ~/.azureus/Azureus2-new.jar ]
then
- rm Azureus2-new.jar
+ rm Azureus2-new.jar ~/.azureus/Azureus2-new.jar
xmessage -center 'Please upgrade Azureus using Portage.'
else
run=0