vivien/i3blocks-contrib

apt-upgrades

Closed this issue · 0 comments

Expected behavior

apt-upgrades not working on automatic mode

Actual behavior ( apt.conf.d )

APT::Update::Post-Invoke { "pkill -RTMIN+1 i3blocks || true"; };
DPkg::Post-Invoke { "pkill -RTMIN+1 i3blocks || true"; };

With the same chown and chmod that description

i3blocks config relevant to blocklet(s)

(the default)
[apt_upgrades]
command=/home/my_user/.config/i3/scripts/apt-upgrades
interval=1440
signal=1

cron to root

@daily aptitude update

Test with the script

With this configuration dont put anything on i3block. But if I execute bash apt-upgrades on console working perfect

Question

I have any error on my files? Because I dont see what.

Thanks a lot