commit 8e073871973eb46b5ee9a486db1f461b3cfb79cf
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Jun 21 11:48:14 2011 +0000

    - note why mail mode is used
    
    Changed files:
        client/make-request.sh -> 1.95

 make-request.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/make-request.sh b/make-request.sh
index bcb1eb7..780d9b0 100644
--- a/make-request.sh
+++ b/make-request.sh
@@ -16,7 +16,12 @@ url=
 no_depend=no
 verbose=no
 
-[ -x /usr/bin/python ] && send_mode="python" || send_mode="mail"
+if [ -x /usr/bin/python ]; then
+       send_mode="python"
+else
+       echo "No python present, using mail mode"
+       send_mode="mail"
+fi
 
 if [ -n "$HOME_ETC" ]; then
        USER_CFG=$HOME_ETC/.requestrc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to