SOURCES: mldonkey.sh - remove sysconfig/mldonkey, it's for initscr...
glen
glen at pld-linux.org
Tue Oct 11 10:28:23 CEST 2005
Author: glen Date: Tue Oct 11 08:28:23 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- remove sysconfig/mldonkey, it's for initscript, and this script doesn't use any variable set from there
---- Files affected:
SOURCES:
mldonkey.sh (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/mldonkey.sh
diff -u SOURCES/mldonkey.sh:1.2 SOURCES/mldonkey.sh:1.3
--- SOURCES/mldonkey.sh:1.2 Tue Oct 11 10:22:46 2005
+++ SOURCES/mldonkey.sh Tue Oct 11 10:28:18 2005
@@ -1,12 +1,9 @@
#!/bin/sh
-
-. /etc/sysconfig/mldonkey
-
set -e
if [ ! -d ~/.mldonkey ]; then
- echo "Creating $HOME/.mldonkey"
- mkdir $HOME/.mldonkey
- fi
+ echo "Creating $HOME/.mldonkey"
+ mkdir $HOME/.mldonkey
+fi
cd ~/.mldonkey && exec /usr/bin/mlnetd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mldonkey.sh?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list