deb_deploy 1.1.3 → 1.1.4

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.
Files changed (2) hide show
  1. data/lib/deb_deploy.rb +1 -1
  2. metadata +2 -2
data/lib/deb_deploy.rb CHANGED
@@ -82,7 +82,7 @@ Capistrano::Configuration.instance.load do
82
82
  log.collect(channel[:host], data)
83
83
  end
84
84
  when "apt"
85
- sudo "dpkg-scanpackages #{debian_target} /dev/null | gzip -9c > #{debian_target}/Packages.gz"
85
+ run "cd #{debian_target} && #{sudo} dpkg-scanpackages . /dev/null | gzip -9c > #{debian_target}/Packages.gz"
86
86
  sudo "apt-get update"
87
87
 
88
88
  run "#{list_packages_cmd} | xargs #{sudo} apt-get -y --allow-unauthenticated install" do |channel, stream, data|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deb_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-02 00:00:00.000000000 Z
12
+ date: 2012-05-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: See http://github.com/jeroenr/deb_deploy
15
15
  email: