mspac 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mspac +3 -3
- data/lib/mspac/package_manager.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 542f3ad5417e408064d10755a2b0951003ff755e
|
4
|
+
data.tar.gz: 81e737dc17e870887db5918bbdfacf2ce419acae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 888ae407d9c6f40315cfe1c66058cc0a5f1101d417d8e95fe6056931ca4ac094452fd1068f6621acccf50eb2bf0182d655c52ee49eeaa48032d8f017bd0e2d50
|
7
|
+
data.tar.gz: 4324f2889973e3af3881147efa616765914a6a4ecd643fc491f876ca3fac16f4ed6c1d0cc447f6bd3be2146b4cbf73be17e4df4f607304b8ed0bd9a596e6567c
|
data/bin/mspac
CHANGED
@@ -228,9 +228,9 @@ begin
|
|
228
228
|
elsif (options["upgrade"])
|
229
229
|
mspac.upgrade
|
230
230
|
else
|
231
|
-
|
232
|
-
|
233
|
-
(options["pellets"]
|
231
|
+
unless (
|
232
|
+
(options["clean"] || options["refresh"]) &&
|
233
|
+
(options["pellets"].nil? || options["pellets"].empty?)
|
234
234
|
)
|
235
235
|
mspac.install(options["pellets"], options["force"])
|
236
236
|
end
|
@@ -40,11 +40,11 @@ class MsPac::PackageManager
|
|
40
40
|
when "pacman"
|
41
41
|
system("sudo pacman --needed --noconfirm -S #{pkgs}")
|
42
42
|
when "perl"
|
43
|
-
system("sudo cpan #{pkgs}")
|
43
|
+
system("umask 022 && sudo cpan #{pkgs}")
|
44
44
|
when "python2"
|
45
|
-
system("python2 -m pip install #{pkgs}")
|
45
|
+
system("umask 022 && sudo python2 -m pip install #{pkgs}")
|
46
46
|
when "python3"
|
47
|
-
system("python3 -m pip install #{pkgs}")
|
47
|
+
system("umask 022 && sudo python3 -m pip install #{pkgs}")
|
48
48
|
when "yum"
|
49
49
|
raise Error::UnsupportedPackageManagerError.new("yum")
|
50
50
|
when "zipper"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mspac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scoobydoo
|