diff options
-rwxr-xr-x | control.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/control.sh b/control.sh index 9ab5022ac..296081ed2 100755 --- a/control.sh +++ b/control.sh @@ -71,6 +71,11 @@ for dep in "${PKG_DEPS[@]}"; do fi echo -n " $(basename "${dep}" .dep)" + + ver=${PKG_DATA}/_metadata/${dep%.dep}.ver + if [[ -e "${ver}" ]]; then + echo -n " (>= $(cat "${ver}"))" + fi done if [[ -e ${PKG_DATA}/_metadata/depends ]]; then @@ -88,6 +93,12 @@ if [[ ${comma+@} == @ ]]; then echo fi +if [[ -e ${PKG_DATA}/_metadata/replaces ]]; then + cat <<EOF +Replaces: $(cat "${PKG_DATA}/_metadata/replaces") +EOF +fi + if [[ -e ${PKG_DATA}/_metadata/conflicts ]]; then cat <<EOF Conflicts: $(cat "${PKG_DATA}/_metadata/conflicts") |