Skip to content

Instantly share code, notes, and snippets.

@baskerville
Created January 26, 2014 19:39
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 baskerville/8638133 to your computer and use it in GitHub Desktop.
Save baskerville/8638133 to your computer and use it in GitHub Desktop.
owlman *dash as sh* PKGBUILD patch
diff -ru a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD 2014-01-26 20:36:12.272798175 +0100
+++ b/PKGBUILD 2014-01-26 20:35:38.059598273 +0100
@@ -20,6 +20,11 @@
git rev-list --count HEAD
}
+prepare() {
+ cd "$srcdir/$_pkgname"
+ sed -i 's:/bin/sh:/bin/dash:' owlman*
+}
+
package() {
cd "$srcdir/$_pkgname"
mkdir -p "$pkgdir"/{usr/bin,etc/bash_completion.d,usr/share/zsh/site-functions,usr/share/man/man8}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment