urm 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +2 -2
  2. data/VERSION +1 -1
  3. data/scripts/urm +8 -2
  4. data/urm.gemspec +1 -1
  5. metadata +2 -2
data/README.md CHANGED
@@ -17,7 +17,7 @@ Use RubyGems to install **urm**:
17
17
  $ gem install urm
18
18
 
19
19
 
20
- To install, initialize, and configure **urm** manually, follow these steps:
20
+ Or to install, initialize, and configure **urm** manually, follow these steps:
21
21
 
22
22
  Make sure you have a bin/ directory in your home directory, and that it is included in your path:
23
23
 
@@ -26,7 +26,7 @@ Make sure you have a bin/ directory in your home directory, and that it is inclu
26
26
 
27
27
  Download the **urm** and ensure it is executable:
28
28
 
29
- $ curl https://github.com/JosephKu/urm/raw/master/src/urm > ~/bin/urm
29
+ $ curl https://github.com/JosephKu/urm/raw/master/scripts/urm > ~/bin/urm
30
30
  $ chmod a+x ~/bin/urm
31
31
 
32
32
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
@@ -142,7 +142,7 @@ list_command ()
142
142
  }
143
143
 
144
144
  # Release info
145
- VERSION=0.2.4
145
+ VERSION=0.2.6
146
146
  AUTHOR="Joseph Ku"
147
147
  EMAIL="chiehfang.ku@gmail.com"
148
148
 
@@ -157,14 +157,20 @@ fi
157
157
  CODENAME="hardy"
158
158
  ARCH="i386"
159
159
 
160
+ #
160
161
 
161
162
  # Check whether Ubuntu system or not
162
- if [ -r "/usr/bin/lsb_release" ] && [ $(lsb_release -is) != "Ubuntu" ]; then
163
+ if [ ! -r "/usr/bin/lsb_release" ]; then
164
+ echo_err "urm only supports Ubuntu system!"
165
+ echo
166
+ exit 1
167
+ elif [ -r "/usr/bin/lsb_release" ] && [ $(lsb_release -is) != "Ubuntu" ]; then
163
168
  echo_err "urm only supports Ubuntu system!"
164
169
  echo
165
170
  exit 1
166
171
  fi
167
172
 
173
+
168
174
  # Check whether urm is running on urm
169
175
  if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
170
176
  echo_err "Do NOT run urm on urm!"
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{urm}
8
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joseph Ku"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: urm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.5
5
+ version: 0.2.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joseph Ku
@@ -92,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- hash: -4161929904461007689
95
+ hash: -3946949164392374216
96
96
  segments:
97
97
  - 0
98
98
  version: "0"