]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- note why mail mode is used
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 21 Jun 2011 11:48:14 +0000 (11:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    client/make-request.sh -> 1.95

client/make-request.sh

index bcb1eb77505a5837cea5d43d9e32fb677063354d..780d9b0c79a570bbc7b7c9931684e16a04d0862f 100644 (file)
@@ -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
This page took 0.030994 seconds and 4 git commands to generate.