summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest/prepare.sh
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-18 04:12:51 +0200
committerlassulus <lass@aidsballs.de>2015-10-18 04:12:51 +0200
commitc3a1bca74c1d7f6e598918a8fb52c192c38999d6 (patch)
treefd840244dd2e924d7071acf050fb101d75a82978 /krebs/4lib/infest/prepare.sh
parentb4326e31444e1dab51d7c4469f43d37dab2d73d5 (diff)
krebs 4 infest: add compatibility for centos 6.5
Diffstat (limited to 'krebs/4lib/infest/prepare.sh')
-rw-r--r--krebs/4lib/infest/prepare.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/4lib/infest/prepare.sh b/krebs/4lib/infest/prepare.sh
index 9fbd5be86..94c9b0fb5 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -18,6 +18,13 @@ prepare() {(
esac
;;
esac
+ elif test -e /etc/centos-release; then
+ case $(cat /etc/centos-release) in
+ 'CentOS release 6.5 (Final)')
+ prepare_centos "$@"
+ exit
+ ;;
+ esac
fi
echo "$0 prepare: unknown OS" >&2
exit -1