| ... | ... |
@@ -530,6 +530,12 @@ function echo_nolog {
|
| 530 | 530 |
echo $@ >&3 |
| 531 | 531 |
} |
| 532 | 532 |
|
| 533 |
+if [[ is_fedora && $DISTRO =~ (rhel) ]]; then |
|
| 534 |
+ # poor old python2.6 doesn't have argparse by default, which |
|
| 535 |
+ # outfilter.py uses |
|
| 536 |
+ is_package_installed python-argparse || install_package python-argparse |
|
| 537 |
+fi |
|
| 538 |
+ |
|
| 533 | 539 |
# Set up logging for ``stack.sh`` |
| 534 | 540 |
# Set ``LOGFILE`` to turn on logging |
| 535 | 541 |
# Append '.xxxxxxxx' to the given name to maintain history |