toquen 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01179f3c67d30450e9a591dc1b37748eb235a525
4
- data.tar.gz: c75337e26263ea50d46fb14a53c2341c712df603
3
+ metadata.gz: 7611ddb8156461ce9f44ae3f7b7b35a4a3f65c0a
4
+ data.tar.gz: 9828db7b00b3e44662f8cbbbed4c543ba26941a8
5
5
  SHA512:
6
- metadata.gz: a0910861f8f45289a21763c9fca58fcdd77fb1fedd87d16cee4ccc72d23b02df7d6fc23157157ff71562529ff839bfc68f0cc1f904438ad962efa435cd4d25da
7
- data.tar.gz: 02b0cea3f5395f9c429ade50aa8278bdfeec9946d001eb1366c2db25497fd0577b2e880853f9d3820f95c7ef67e5e1955e154dca90e8d1a64ac236a89de4de41
6
+ metadata.gz: 20e04751d1c0820a1c05c6c4d62433c2bde608f0b2ea839e4314f1c9e2aa473fbea85e912958b3dd0599b0d53897c01145b18c5dbdc9fb56e0000c75cdd9db06
7
+ data.tar.gz: 9e6ce0e293dee1d45b71ce765ca90abf2615ad1a31229d85122a2e025656c55cdbf6b37445835945e732b0f0ba1b3445bf3260d65ad1173d3890b102b4095315
@@ -1,9 +1,15 @@
1
1
  #!/bin/bash -l
2
2
  if [ -e "/home/<%= user %>/bootstrap.lock" ]; then exit 0; fi
3
+ (lsb_release -d | grep Ubuntu) || (echo "This script only works with Ubuntu." && exit 0)
4
+ VERSION=$(lsb_release -d | awk '{ split($3,a,"."); print a[1] }')
5
+ if [ $VERSION -lt 14 ]; then
6
+ echo "This bootstrap script is designed to work with Ubuntu 14 and greater"
7
+ exit 0
8
+ fi
3
9
  DEBIAN_FRONTEND=noninteractive apt-get -y update
4
10
  DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
5
11
  DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
6
- DEBIAN_FRONTEND=noninteractive apt-get -y install ruby ruby-dev build-essential rubygems
12
+ DEBIAN_FRONTEND=noninteractive apt-get -y install ruby ruby-dev build-essential
7
13
 
8
14
  gem install --no-rdoc --no-ri chef
9
15
 
@@ -1,3 +1,3 @@
1
1
  module Toquen
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toquen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Muller