You are not logged in.

#81 2017-09-08 17:56:51

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Ship unattended-upgrades with BunsenLabs?

I was thinking of getting it to display in conky  smile

${if_match "${execi 3600 aptspy}" == "status on interval"}No updates${else}You have Updates${endif}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#82 2017-09-08 18:40:13

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,741

Re: Ship unattended-upgrades with BunsenLabs?

Just take the aptitude line then, script should exit in your case.

Edit: yeah this isn't working, discrepancy between aptitude and apt, posibly sniffing at wrong file as well (script), possibly more. Real solution will have to cut deeper to apt/debian, not interested personally.

Last edited by brontosaurusrex (2017-09-09 16:42:17)

Offline

Board footer

Powered by FluxBB