common: move handling of rdeps, shlib-provides, shlib-requires files
to XBPS_STATEDIR. There's no need for them to pollute PKGDESTDIR. Keep INSTALL.msg/REMOVE.msg handling as-is for now because it's a little more complex. Keep the pkglints for these files because xbps still ignores them.
This commit is contained in:
parent
b9acde8b15
commit
17efb6163a
8 changed files with 29 additions and 29 deletions
|
@ -62,7 +62,7 @@ show_pkg_var() {
|
|||
}
|
||||
|
||||
show_pkg_deps() {
|
||||
[ -f "${PKGDESTDIR}/rdeps" ] && cat ${PKGDESTDIR}/rdeps
|
||||
[ -f "${XBPS_STATEDIR}/${pkgname}-rdeps" ] && cat "${XBPS_STATEDIR}/${pkgname}-rdeps"
|
||||
}
|
||||
|
||||
show_pkg_files() {
|
||||
|
@ -155,9 +155,9 @@ show_pkg_build_options() {
|
|||
}
|
||||
|
||||
show_pkg_shlib_provides() {
|
||||
[ -f "${PKGDESTDIR}/shlib-provides" ] && cat ${PKGDESTDIR}/shlib-provides
|
||||
[ -f "${XBPS_STATEDIR}/${pkgname}-shlib-provides" ] && cat "${XBPS_STATEDIR}/${pkgname}-shlib-provides"
|
||||
}
|
||||
|
||||
show_pkg_shlib_requires() {
|
||||
[ -f "${PKGDESTDIR}/shlib-requires" ] && cat ${PKGDESTDIR}/shlib-requires
|
||||
[ -f "${XBPS_STATEDIR}/${pkgname}-shlib-requires" ] && cat "${XBPS_STATEDIR}/${pkgname}-shlib-requires"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue