04-21-2017, 02:18 PM
https://unlockforus.com
Sorry for seeming stupid and preferring Linux - I just don't know any better.
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
(04-20-2017, 07:06 AM)Jerry link Wrote: Idea - I don't think 'Autoremove Packages' should show in the list if there are none to remove. If there are packages to remove, we should show the number of packages to be autoremoved. Thoughts?
Code:apt-get --dry-run autoremove | grep -Po '^Remv \K[^ ]+' | awk '{print $0}' | wc -w
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
(04-21-2017, 07:47 PM)ralphy link Wrote: In the meantime, I propose the following:
* Don't show Package Cache task if there are no files for removal
* Don't show Thumbnails Cache task if there are no files for removal
* Don't show Log Archives task if there are no files for removal
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
bash -c "/usr/share/litemodules/dryapt" &#!/bin/bash
dryapt=$(apt-get -s autoremove | grep -Po '^Remv \K[^ ]+' | awk '{print $0}' | wc -w)
eval "${dryapt}" &>/dev/null &disown
echo "${dryapt}" > "$HOME/.local/share/.dryapt"