Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package list and disk usage information to report #13

Merged
merged 19 commits into from Jul 10, 2023
Merged

Add package list and disk usage information to report #13

merged 19 commits into from Jul 10, 2023

Conversation

Lab-Brat
Copy link
Owner

Changelog:

  • parse package information from log:
    • package name
    • old version
    • new version
    • use flags
    • multilibs
  • calculate disk usage before and after the update
  • parse disk usage stats and add it to report

@Lab-Brat Lab-Brat requested a review from afalko July 10, 2023 07:00
@Lab-Brat Lab-Brat merged commit 97628e6 into main Jul 10, 2023
1 check passed

done </etc/fstab

if [[ $mount_point_found == false ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if [[ "${mount_point_found}" == false ]]; then


mount_point=$(echo "${line}" | awk '{print $2}')

if [[ ${mount_point} = "/tmp" || ${mount_point} = "swap" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"${mount_point}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants