Removed interactive check. Not necessary, and causes problems
This commit is contained in:
parent
2b693c3ebb
commit
70b459b4e7
4
PKGBUILD
4
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||||
pkgname=tl-makepkg
|
pkgname=tl-makepkg
|
||||||
pkgver=0.5
|
pkgver=0.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Small utility for running makepkg, then repose to add a local non-AUR package to a custom repo"
|
pkgdesc="Small utility for running makepkg, then repose to add a local non-AUR package to a custom repo"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -10,7 +10,7 @@ depends=('repose' 'pacutils')
|
||||||
backup=('etc/tl-makepkg.conf')
|
backup=('etc/tl-makepkg.conf')
|
||||||
source=('tl-makepkg'
|
source=('tl-makepkg'
|
||||||
'tl-makepkg.conf')
|
'tl-makepkg.conf')
|
||||||
md5sums=('bdaea613965516d9fbab7f688d75c859'
|
md5sums=('a241835872805ff68ffc4e0bc687d778'
|
||||||
'938de8daea15f68500e969df422fd7fa')
|
'938de8daea15f68500e969df422fd7fa')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
@ -23,10 +23,6 @@ makepkg_run() { # Usage: makepkg_run <RepoDir> <MakepkgOpts>
|
||||||
makepkg "$@"
|
makepkg "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
|
||||||
# Allows for using these functions as commands by sourcing this script
|
|
||||||
[[ $- != *i* ]] && return
|
|
||||||
|
|
||||||
config_parse "${CONFIG_FILE:-/etc/tl-makepkg.conf}"
|
config_parse "${CONFIG_FILE:-/etc/tl-makepkg.conf}"
|
||||||
makepkg_run "${config[RepoDir]}" "${config[MakepkgOpts]} $@"
|
makepkg_run "${config[RepoDir]}" "${config[MakepkgOpts]} $@"
|
||||||
repose "${config[ReposeOpts]}" --root "${config[MakepkgOpts]}" --pool "${config[MakepkgOpts]}" "${config[DBFile]}"
|
repose "${config[ReposeOpts]}" --root "${config[MakepkgOpts]}" --pool "${config[MakepkgOpts]}" "${config[DBFile]}"
|
||||||
|
|
Loading…
Reference in New Issue