Advertisement
Guest User

Untitled

a guest
Jul 9th, 2021
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. package() {
  2. cd "$_name-$pkgver"
  3. # root installing the package via setup.py gives the wrong permissions to variants.db
  4. # we use this workaround until a definitive fix is found
  5. local variantsdb="build/lib/mygnuhealth/data/variants.db"
  6. chmod 444 $variantsdb
  7. # install the actual package with the right permissions
  8. python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement