Define both --root and --pool for repose so it doesn't symlink all the shit to /home/thurstylark/tl-makepkg

This commit is contained in:
David Thurstenson 2017-01-24 10:46:39 -06:00
parent 0a933dec19
commit aed15cff8b
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=tl-makepkg
pkgver=0.2
pkgver=0.3
pkgrel=1
pkgdesc="Small utility for running makepkg, then repose to add a local non-AUR package to a custom repo"
arch=('any')
@ -10,7 +10,7 @@ depends=('repose')
backup=(etc/tl-makepkg.conf)
source=('tl-makepkg'
'tl-makepkg.conf')
md5sums=('786357e6ade3773b04a3999bd1ebeecd'
md5sums=('737c5a07560428863b8242af4f80a1e4'
'90f485bc5e44599a2e2e7b8c49a140fc')
package() {

View File

@ -25,7 +25,7 @@ makepkg_run() {
}
repose_run() {
repose ${config[REPOSE_OPTS]} --pool "${config[REPO_DIR]}" "${config[DB_FILE]}"
repose ${config[REPOSE_OPTS]} --root "${config[REPO_DIR]}" --pool "${config[REPO_DIR]}" "${config[DB_FILE]}"
}
config_parse "${CONFIG_FILE:-/etc/tl-makepkg.conf}"