diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-09 15:05:24 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-12 22:33:28 +0200 |
commit | 3f042b60a9f3f1940d31b13f1107bdbe8635a105 (patch) | |
tree | f54e221d17b05852d108aacd24b2cffaa31c8073 /perl_base.req | |
parent | 14e91be2f49c36ce8e4fccefc13ab6afe28db6a1 (diff) | |
download | rpm-setup-3f042b60a9f3f1940d31b13f1107bdbe8635a105.tar rpm-setup-3f042b60a9f3f1940d31b13f1107bdbe8635a105.tar.gz rpm-setup-3f042b60a9f3f1940d31b13f1107bdbe8635a105.tar.bz2 rpm-setup-3f042b60a9f3f1940d31b13f1107bdbe8635a105.tar.xz rpm-setup-3f042b60a9f3f1940d31b13f1107bdbe8635a105.zip |
kill dead file
should have been deleted in commit abcac127ed949e61e91870b8b45fd0fbd2fa9683
Diffstat (limited to 'perl_base.req')
-rw-r--r-- | perl_base.req | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/perl_base.req b/perl_base.req index eb95024..aaf2110 100644 --- a/perl_base.req +++ b/perl_base.req @@ -1,18 +1,8 @@ #!/bin/sh # Requires on perl-base -perlepoch=`rpm -q --qf '%|EPOCH?{[%{EPOCH}]:}|' perl-base` -if [ $? != 0 ]; then - unset perlepoch +perlEV=`rpm -q --qf '%{EPOCH}:%{VERSION}\n' perl-base` +if [ $? = 0 ]; then + echo "perl-base >= $perlEV" fi -tmpdeplist= - -while read instfile ; do - dep="`echo $instfile | sed -n -e "s@.*/usr/lib/perl5/\(vendor_perl/\|site_perl/\|\)\([.0-9]\{1,\}\).*\\$@perl-base >= $perlepoch\2@p"`" - if [[ -n $dep && -z `echo $uniqdeplist $tmpdeplist|grep "$dep"` ]]; then - tmpdeplist+="$dep\n" - fi -done - -echo -n -e $tmpdeplist | sort -u |