diff --git a/modules/database.am b/modules/database.am index 3bbeba9fd..05cd4242b 100644 --- a/modules/database.am +++ b/modules/database.am @@ -92,8 +92,8 @@ _files_header() { _files_sizes() { if grep -q "usr/local/lib" ./"$arg"/remove; then - LIBNAME=$(<"$APPSPATH"/"$arg"/remove tr ' ' '\n' | grep "usr/local/lib" | head -1) - SIZE=$(du -sh "$LIBNAME" | cut -f1 | sort -rh | head -1) + LIBNAME=$(<"$APPSPATH"/"$arg"/remove tr ' ' '\n' | grep "usr/local/lib" | head -1 | sed 's/*//g') + SIZE=$(du -sh "$LIBNAME"* | cut -f1 | sort -rh | head -1) else SIZE=$(du -sh -- "$arg" | cut -f1 -d" ") fi