ruaur 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruaur/aur.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba3297c2f294cad86d5760d5983424d9bfaada3bab2c39783195aed8bd835dd7
|
4
|
+
data.tar.gz: c900c232576fb855fa5f8d489d92bb7075e3506fd97bbad5d4f9dd35cfd4a95f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f40679c37f2b9c2baa5c219ded0163ebf9922dd8d2b9327e82c6eb36c8f84223f6f4e81a2c793f3d0264fd097c0c544608174d7d5f7a1408393cbb972df0ae0
|
7
|
+
data.tar.gz: 5dbcfb5a51cc50a1e177e452ea5852745069a36b69c1dccc54e2e6365ce41875d78dbb2439f44a5a80e2f71e81fcbda8ca78c957c809185702c10a2c01f37163
|
data/lib/ruaur/aur.rb
CHANGED
@@ -135,10 +135,10 @@ class RuAUR::AUR
|
|
135
135
|
Dir.chdir("#{@cache}/#{package.name}") do
|
136
136
|
system("chown -R nobody:nobody .") if (Process.uid == 0)
|
137
137
|
cmd = "su -s /bin/sh nobody -c \"makepkg --printsrcinfo\""
|
138
|
-
cmd = "makepkg
|
138
|
+
cmd = "makepkg --printsrcinfo" if (Process.uid != 0)
|
139
139
|
%x(#{cmd}).each_line do |line|
|
140
|
-
line.match(/depends\s*\=\s*([
|
141
|
-
deps.push(m[1])
|
140
|
+
line.match(/depends\s*\=\s*([^>=:]+)/) do |m|
|
141
|
+
deps.push(m[1].strip)
|
142
142
|
end
|
143
143
|
end
|
144
144
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruaur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|