diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-11 15:22:40 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-02 16:44:15 -0800 |
commit | ce3317effe1753835d508e78a1a27e8af9c690ae (patch) | |
tree | 4a709032fd44a11a3f2d115ec327d6a5616d2b89 /scripts | |
parent | 653556333b87fdab40001068671f029829de6d2a (diff) | |
download | librpm-tizen-ce3317effe1753835d508e78a1a27e8af9c690ae.tar.gz librpm-tizen-ce3317effe1753835d508e78a1a27e8af9c690ae.tar.bz2 librpm-tizen-ce3317effe1753835d508e78a1a27e8af9c690ae.zip |
Support a "first version wins" semantics.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/perl.prov | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/perl.prov b/scripts/perl.prov index 400cb198b..a6d8856e8 100755 --- a/scripts/perl.prov +++ b/scripts/perl.prov @@ -170,7 +170,7 @@ sub process_file { $version = $1; } - $require{$package} = $version; + $require{$package} ||= $version; } # Allow someone to have a variable that defines virtual packages |