Skip to content

Commit

Permalink
Useless cat
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 6, 2024
1 parent a716ba8 commit d6d90d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/database.am
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function generate_3rd_party() {
app_status=$(echo -e " STATUS: INSTALLED, ABOUT $disk_usage MB OF DISK SPACE IN USE\n VERSION: $app_version")
fi
printf '%s\n' "$app_status"
cat "$AMPATH/$arch-apps" | grep "$arg : " | cut -d':' -f2- | sed 's/^./\n /' | sed 's# SOURCE:#\n\n SOURCE:#g'
grep "$arg : " < "$AMPATH/$arch-apps" | cut -d':' -f2- | sed 's/^./\n /' | sed 's# SOURCE:#\n\n SOURCE:#g'
printf '\n%-55s\n'
else
printf ' "%s" IS NOT A VALID ARGUMENT\n' "$package_name"
Expand Down

0 comments on commit d6d90d7

Please sign in to comment.