Skip to content

Instantly share code, notes, and snippets.

@loleg
Created October 12, 2011 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loleg/1281213 to your computer and use it in GitHub Desktop.
Save loleg/1281213 to your computer and use it in GitHub Desktop.
Arch Linux patch for build-couchdb
lib.rb:122:
when :archlinux
installed = `pacman -Q`.split("\n")
if !installed.member?(package)
sh "sudo pacman -S #{package}"
end
distros.rb:74:
# Arch Linux
if `uname -r`.include? "ARCH"
return [:archlinux, `uname -r`.chomp]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment