sprinkle 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sprinkle/installers/deb.rb +7 -1
- data/lib/sprinkle/version.rb +1 -1
- data/sprinkle.gemspec +1 -1
- metadata +1 -1
@@ -24,7 +24,13 @@ module Sprinkle
|
|
24
24
|
protected
|
25
25
|
|
26
26
|
def install_commands #:nodoc:
|
27
|
-
"wget -cq --directory-prefix=/tmp #{@packages.join(' ')}; dpkg -i #{@packages.collect{|p| "/tmp/#{p}"}.join(" ")}"
|
27
|
+
"wget -cq --directory-prefix=/tmp #{@packages.join(' ')}; dpkg -i #{@packages.collect{|p| "/tmp/#{package_name(p)}"}.join(" ")}"
|
28
|
+
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def package_name(url)
|
33
|
+
url.split('/').last
|
28
34
|
end
|
29
35
|
|
30
36
|
end
|
data/lib/sprinkle/version.rb
CHANGED
data/sprinkle.gemspec
CHANGED