mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Remove old rpm packages before building the new one.
This commit is contained in:
parent
aee2962a24
commit
a250483e11
@ -30,6 +30,7 @@ if test -z "$MCVERSION" || test ! -f "$MCTARBALL"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -f /usr/src/redhat/RPMS/i386/mc-*.i386.rpm
|
||||||
rpm -tb "$MCTARBALL"
|
rpm -tb "$MCTARBALL"
|
||||||
MC_RPM=`echo /usr/src/redhat/RPMS/i386/mc-*.i386.rpm`
|
MC_RPM=`echo /usr/src/redhat/RPMS/i386/mc-*.i386.rpm`
|
||||||
if test ! -f $MC_RPM; then
|
if test ! -f $MC_RPM; then
|
||||||
|
Loading…
Reference in New Issue
Block a user