summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython-updater5
1 files changed, 5 insertions, 0 deletions
diff --git a/python-updater b/python-updater
index 6392b6e..600b327 100755
--- a/python-updater
+++ b/python-updater
@@ -20,6 +20,11 @@
# PKGS_MISSING = List of packages that are installed, but cannot be merged,
# because they have been pruned from portage.
+if [[ "${BASH_VERSINFO[0]}" -lt 4 ]]; then
+ echo "Bash >=4.0 required" >&2
+ exit 1
+fi
+
VERSION="0.9"
OLD_PYTHON_VERSIONS=""
OLD_PYTHON2_VERSIONS=""