diff --git a/install_sbt_yum.sh b/install_sbt_yum.sh deleted file mode 100755 index 2c7ba5f3..00000000 --- a/install_sbt_yum.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash -# vim:ts=4:sts=4:sw=4:et -# -# Author: Hari Sekhon -# Date: 2016-01-16 09:58:07 +0000 (Sat, 16 Jan 2016) -# -# https://github.com/harisekhon/bash-tools -# -# License: see accompanying Hari Sekhon LICENSE file -# -# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish -# -# https://www.linkedin.com/in/harisekhon -# - -set -euo pipefail -[ -n "${DEBUG:-}" ] && set -x - -echo "================================================================================" -echo " S B T Y u m I n s t a l l" -echo "================================================================================" - -echo -date '+%F %T Starting...' -start_time="$(date +%s)" -echo - -curl -L https://bintray.com/sbt/rpm/rpm | tee /etc/yum.repos.d/bintray-sbt-rpm.repo -yum install -y java-sdk -yum install -y --nogpgcheck sbt - -echo -date '+%F %T Finished' -echo -end_time="$(date +%s)" -# if start and end time are the same let returns exit code 1 -let time_taken=$end_time-$start_time || : -echo "Completed in $time_taken secs" -echo -echo "==================================================" -echo " SBT Yum Install Completed" -echo "==================================================" -echo