micro_install 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 +4 -4
- data/lib/micro_install.rb +4 -4
- data/lib/micro_install/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 699159d6205ef44705c6fb74a9df412fbf9c6f753213acf12945c767a7b7ff79
|
4
|
+
data.tar.gz: ab616b77824fd1a26570c8f22123f1c68e07e0204ecb42f3ae3dfee5193c4e3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c49a2d2b17c294087e60400e714ceb6473b05890b7dc491df17107fc6803519609b8ee9db854ff4a8d8f4ae8339e292a8b6b5bf9222f2686e6bc5c5185a8d9
|
7
|
+
data.tar.gz: 332f45f938a84d0d3c836f363cedb7d66400ad82388715f8eb191d97aa4ee3016ded6a41e4d31b160074b0c62048504f7aa0f14337f997ce290a71aa8c2bf694
|
data/lib/micro_install.rb
CHANGED
@@ -38,8 +38,6 @@ module MicroInstall
|
|
38
38
|
elsif bits == "32"
|
39
39
|
@arch = 'linux32'
|
40
40
|
end
|
41
|
-
when "linux-arm"
|
42
|
-
raise MicroInstall::LookupError.new 'ARM (mobile devices) are not supported'
|
43
41
|
when "darwin"
|
44
42
|
@arch = 'osx'
|
45
43
|
when "freebsd"
|
@@ -60,8 +58,10 @@ module MicroInstall
|
|
60
58
|
elsif bits == "32"
|
61
59
|
@arch = 'netbsd32'
|
62
60
|
end
|
63
|
-
|
64
|
-
|
61
|
+
|
62
|
+
end
|
63
|
+
if OS.config['host_cpu'] == 'arm' or OS.config['host_os'] =~ /linux-arm/ or OS.config['host_os'] =~ /arm-linux/
|
64
|
+
@arch = 'linux-arm'
|
65
65
|
end
|
66
66
|
rescue MicroInstall::LookupError => e
|
67
67
|
hl.say "#{Paint['Error', 'red']}: #{e}"
|