common/hooks/*-pkg: misc tweaks for proper -dbg {creat,registrat}ion.
This commit is contained in:
parent
b3200722ef
commit
370c2aaf3c
2 changed files with 37 additions and 32 deletions
|
@ -35,10 +35,12 @@ hook() {
|
|||
pkgdir=$XBPS_REPOSITORY
|
||||
fi
|
||||
binpkg=${pkgver}.${arch}.xbps
|
||||
binpkg_dbg=${pkgver}-dbg.${arch}.xbps
|
||||
binpkg_dbg=${pkgname}-dbg-${version}_${revision}.${arch}.xbps
|
||||
|
||||
# Register binpkg.
|
||||
registerpkg $pkgdir $binpkg
|
||||
if [ -f ${pkgdir}/${binpkg} ]; then
|
||||
registerpkg ${pkgdir} ${binpkg}
|
||||
fi
|
||||
|
||||
# Register -dbg binpkg if it exists.
|
||||
if [ -f ${pkgdir}/${binpkg_dbg} ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue