removed obsolete script check-prereqs
This commit is contained in:
parent
3a742bc4a1
commit
d5aef711d7
@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = 1.4 foreign
|
||||
EXTRA_DIST = \
|
||||
brp-adjust_libraries brp-alt brp-bytecompile_python \
|
||||
brp-cleanup brp-compress brp-fix-perms brp-fixup brp-strip brp-verify_elf \
|
||||
compress_files check-prereqs convertrpmrc.sh cross-build \
|
||||
compress_files convertrpmrc.sh cross-build \
|
||||
delayed_rebuilddb find-lang find-package find-prov.pl find-req.pl \
|
||||
cpanflute cpanflute2 Specfile.pm find-provides.perl find-requires.perl \
|
||||
fixup-binconfig fixup-pkgconfig fixup-libtool \
|
||||
@ -24,7 +24,7 @@ configdir = ${prefix}/lib/rpm
|
||||
config_SCRIPTS = \
|
||||
brp-adjust_libraries brp-alt brp-bytecompile_python \
|
||||
brp-cleanup brp-compress brp-fix-perms brp-fixup brp-strip brp-verify_elf \
|
||||
compress_files check-prereqs convertrpmrc.sh cross-build \
|
||||
compress_files convertrpmrc.sh cross-build \
|
||||
delayed_rebuilddb find-lang find-package find-prov.pl find-req.pl \
|
||||
cpanflute cpanflute2 Specfile.pm find-provides.perl find-requires.perl \
|
||||
fixup-binconfig fixup-pkgconfig fixup-libtool \
|
||||
|
@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
bashit="/bin/bash --rpm-requires"
|
||||
|
||||
# Make sure that this bash has the rpm-requires hack
|
||||
$bashit < /dev/null 2>&1 > /dev/null || exit $?
|
||||
|
||||
prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//'`" -e 's/^executable(//' -e 's/)$//'`"
|
||||
[ -z "$prereqs" ] && exit 0
|
||||
|
||||
for prereq in $prereqs
|
||||
do
|
||||
case $prereq in
|
||||
/*) echo $prereq ;;
|
||||
*) echo "`which $prereq`" ;;
|
||||
esac
|
||||
done | sort | uniq
|
Loading…
Reference in New Issue
Block a user