Skip to content

Commit

Permalink
fixing sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
dudemeister committed Sep 6, 2010
1 parent 8f8cf67 commit 3047e0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqlite.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
dep 'sqlite3.7' do
requires 'python-software-properties.managed'
met? {
shell "sqlite3 -version".match(/3\.7.*/)
shell("sqlite3 -version").match(/3\.7/)
}
meet {
if !shell('ls /etc/apt/sources.list.d/aleksander-m-sqlite3*')
puts 'adding recent sqlite build repository'
sudo "add-apt-repository ppa:aleksander-m/sqlite3"
sudo "apt-get update"
end
Babushka::PkgHelper.install!("sqlite3")
Babushka::Base.host.pkg_helper.install!("sqlite3")
}
end

dep 'python-software-properties.managed' do
provides []
end
end

0 comments on commit 3047e0a

Please sign in to comment.