Permalink
Browse files

Moved rdb_migrate script to /usr/bin and bash completion to correct path

  • Loading branch information...
mtorromeo committed Nov 16, 2012
1 parent 6c22234 commit de3cc799d8024634aba3be80e2387e399bd9f59d
Showing with 7 additions and 2 deletions.
  1. +7 −2 rethinkdb/PKGBUILD
View
@@ -42,8 +42,13 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix=/usr DESTDIR="$pkgdir" FORCEVERSION=1 PVERSION=$pkgver DEBUG=0 NO_TCMALLOC=1 BUILD_DRIVERS=0 install
- rm -rf "$pkgdir/etc"
- rm -rf "$pkgdir/var"
+ cd "$pkgdir"
+ rm -rf etc var
+
+ cd usr/share/rethinkdb
+ install -Dm644 etc/bash_completion.d/rethinkdb.bash "$pkgdir/usr/share/bash-completion/completions/rethinkdb"
+ install -Dm755 scripts/rdb_migrate "$pkgdir/usr/bin/rdb_migrate"
+ rm -rf etc scripts
install -Dm644 "$srcdir/rethinkdb-tmpfile.conf" "$pkgdir/usr/lib/tmpfiles.d/rethinkdb.conf"
install -Dm644 "$srcdir/rethinkdb.service" "$pkgdir/usr/lib/systemd/system/rethinkdb.service"

0 comments on commit de3cc79

Please sign in to comment.