diff options
author | joey <joey> | 2003-10-13 01:37:14 +0000 |
---|---|---|
committer | joey <joey> | 2003-10-13 01:37:14 +0000 |
commit | 8d285c73f8a1d8f4b632100ce764893f3d704068 (patch) | |
tree | 32157a3107409e129074042dc7a75c64c54d7057 /dh_python | |
parent | 87c9d162920985cd2ee71b56d9a38aa5bda85093 (diff) |
r1611: * dh_install: add --fail-missing option. Closes: #120026
* Fix mispelling in prerm-sgmlcatalog. Closes: #215189
Diffstat (limited to 'dh_python')
-rwxr-xr-x | dh_python | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ my $python = 'python'; # The current python major version my $python_major; my $python_version = `$python -V 2>&1`; -if ("$python_version" eq "") { +if (! defined $python_version || $python_version eq "") { error("Python is not installed, aborting. (Probably forgot to Build-Depend on python.)"); } elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)(\.\d+)*/) { |