Skip to content

Commit

Permalink
fix: false positive on unused runtimes for Flatpak with pinned runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
RayJW committed Dec 4, 2024
1 parent ff81590 commit 12384ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/orphan_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
orphan_packages=$(pacman -Qtdq)

if [ -n "${flatpak}" ]; then
flatpak_unused=$(flatpak remove --unused | awk '{print $2}' | grep -v '^$' | sed '$d')
flatpak_unused=$(flatpak remove --unused | sed -n '/^ 1./,$p' | awk '{print $2}' | grep -v '^$' | sed '$d')
fi

if [ -n "${orphan_packages}" ]; then
Expand Down

0 comments on commit 12384ba

Please sign in to comment.