[Pkg-ocaml-maint-commits] [SCM] mldonkey packaging branch, master, updated. debian/3.0.3-2-7-gfff3054
Mehdi Dogguy
mehdi at debian.org
Tue Oct 26 05:46:35 UTC 2010
The following commit has been merged in the master branch:
commit fff3054eacacb141f1415ccde1ea30fa197f0758
Author: Mehdi Dogguy <mehdi at debian.org>
Date: Tue Oct 26 07:42:44 2010 +0200
Source the configuration file only when it's readable
diff --git a/debian/mldonkey-server.postinst b/debian/mldonkey-server.postinst
index e35ee5f..7cfec3f 100644
--- a/debian/mldonkey-server.postinst
+++ b/debian/mldonkey-server.postinst
@@ -30,7 +30,7 @@ case "$1" in
new_mldonkey_dir="/var/lib/mldonkey"
client_name=`hostname`
- if [ -e "$CONF" ]; then
+ if [ -r "$CONF" ]; then
. $CONF;
if [ -n "$MLDONKEY_USER" ]; then
run_as_user="$MLDONKEY_USER";
--
mldonkey packaging
More information about the Pkg-ocaml-maint-commits
mailing list