mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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
|
||||
fi
|
||||
|
||||
rm -f /usr/src/redhat/RPMS/i386/mc-*.i386.rpm
|
||||
rpm -tb "$MCTARBALL"
|
||||
MC_RPM=`echo /usr/src/redhat/RPMS/i386/mc-*.i386.rpm`
|
||||
if test ! -f $MC_RPM; then
|
||||
|
Loading…
Reference in New Issue
Block a user