urm 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/VERSION +1 -1
- data/scripts/urm +8 -2
- data/urm.gemspec +1 -1
- 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
|
-
|
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/
|
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.
|
1
|
+
0.2.6
|
data/scripts/urm
CHANGED
@@ -142,7 +142,7 @@ list_command ()
|
|
142
142
|
}
|
143
143
|
|
144
144
|
# Release info
|
145
|
-
VERSION=0.2.
|
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" ]
|
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!"
|
data/urm.gemspec
CHANGED
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
|
+
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: -
|
95
|
+
hash: -3946949164392374216
|
96
96
|
segments:
|
97
97
|
- 0
|
98
98
|
version: "0"
|