Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
pm: add suggests support, $PKGSUG, #58
Browse files Browse the repository at this point in the history
- Currently optional for both DPKG and RPM
- No version info will be provided by default
  • Loading branch information
Mingcong Bai committed Aug 18, 2015
1 parent 47cbcdd commit 785b6f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dpkg/pack
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dpkgctrl(){
[ "$PKGREP" ] && dpkgfield Replaces $PKGREP
[ "$PKGCONFL" ] && dpkgfield Conflicts $PKGCONFL
[ "$PKGPROV" ] && VER_NONE=1 dpkgfield Provides $PKGPROV
[ "$PKGSUG" ] && dpkgfield Suggests $PKGSUG
[ "$PKGBREAK" ] && dpkgfield Breaks $PKGBREAK
echo "$DPKGXTRACTRL"
}
Expand Down
3 changes: 2 additions & 1 deletion env_cfgs/default
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ PKGREL
PKGCONFL
PKGPROV
PKGREP
PKGSUG
ARCH
MTER
ABMPM
ABAPMS
ABAPMS
1 change: 1 addition & 0 deletions rpm/pack
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ $(VER_NONE=0 rpmopttag Requires $PKGDEP)
$(rpmopttag Conflicts $PKGCONFL)
$(rpmopttag Obsoletes $PKGREP)
$(rpmopttag Provides $PKGPROV)
$(rpmopttag Suggests $PKGSUG)
%description
$PKGDES
Expand Down

0 comments on commit 785b6f3

Please sign in to comment.