diff options
| author | D. Johnson <fenris02@fedoraproject.org> | 2012-05-26 01:51:10 -0500 |
|---|---|---|
| committer | D. Johnson <fenris02@fedoraproject.org> | 2012-05-26 01:51:10 -0500 |
| commit | f7020811c5bcdd25cc4282be18d005e7e44fcac2 (patch) | |
| tree | 59e794f653bfc1f3116d6e6b91574d0b3f89389a | |
| parent | 722c54e9c7e87e00b9168a57808772c51eea40bd (diff) | |
Update release, rpm, yum and dracut up front.
| -rwxr-xr-x | distro-clean.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distro-clean.sh b/distro-clean.sh index 0d5fded..09b57a8 100755 --- a/distro-clean.sh +++ b/distro-clean.sh @@ -68,6 +68,8 @@ fi [ -n "$VERBOSE" ] && echo 'Cleaning up yumdb' [ -n "$DEBUG" ] && read rm /var/lib/rpm/__db.00? +rpm --rebuilddb +yum update -y /etc/*-release dracut rpm yum yum clean all yum-complete-transaction @@ -174,8 +176,6 @@ curl -s https://fedoraproject.org/keys |\ semanage -o ${TMPDIR}/SELINUX-CUSTOM-CONFIG_${DS}.txt mv /etc/selinux/targeted ${TMPDIR}/targeted.${DS} mkdir -p /etc/selinux/targeted -time yum update -y \*-release -time yum update -y yum rpm time yum shell $YSHELL2 -y --disableplugin=presto --skip-broken time yum shell $YSHELL3 -y --disableplugin=presto --skip-broken time yum distribution-synchronization -y --disableplugin=presto --skip-broken |
