We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51055e commit 95274e6Copy full SHA for 95274e6
osg-system-profiler
@@ -302,8 +302,13 @@ if $rpm_install; then
302
all_rpms_log=$(mktemp $dir/allrpmslog.XXXXXX)
303
rpm_verify_log=$(mktemp $dir/rpmverifylog.XXXXXX)
304
305
- rpm -qa | grep -v kernel-devel | sort -u | while read rpm_to_verify; do
306
- message -n .
+ width=$(( ${COLUMNS:-80} - 1 ))
+ rpm -qa | grep -v kernel-devel | sort -u | while read rpm_to_verify; do
307
+ if [[ -t 3 ]]; then
308
+ printf "%-${width}s\r" "$rpm_to_verify" >&3
309
+ else
310
+ message -n .
311
+ fi
312
echo $rpm_to_verify >> $all_rpms_log
313
314
# This awk trick prints out the header iff rpm --verify actually produces output
0 commit comments