summaryrefslogtreecommitdiffstats
path: root/distro-clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distro-clean.sh')
-rwxr-xr-xdistro-clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/distro-clean.sh b/distro-clean.sh
index 86e343c..a843208 100755
--- a/distro-clean.sh
+++ b/distro-clean.sh
@@ -111,7 +111,7 @@ repoquery --installed --qf "%{nvra} - %{yumdb_info.reason}" \
package-cleanup -q --dupes > ${TMPDIR}/DUPLICATE-PACKAGES_${DS}.txt
[ -s ${TMPDIR}/DUPLICATE-PACKAGES_${DS}.txt ] && \
cat ${TMPDIR}/DUPLICATE-PACKAGES_${DS}.txt | \
- while reaad PKGNAME; do
+ while read PKGNAME; do
rpm -q --qf 'reinstall %{name}.%{arch}\n' $PKGNAME >> $YSHELL
done