LINUX LITE 7.4 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Optional Widget for Linux Lite 3.2
#33
(09-20-2016, 12:50 AM)LL-user link Wrote: Is the "apt-get update" part covered by the system out of the box? I see that you straight away check for available updates via "apt-get upgrade".

That method does work, each time I've reboot one of my VM's here running the widget displays a new amount of updates when they're available.
You can change Line 8 in the updates script to show:

Code:
NUMOFUPDATES=$(LANG=C /usr/lib/update-notifier/apt-check 2>&1 | cut -d ';' -f 1)

if you like. apt-check is run at boot time to check for the number of updates available and show them in the motd, it's an Ubuntu thing Smile
Reply


Messages In This Thread
Optional Widget for Linux Lite 3.2 - by Valtam - 09-14-2016, 08:15 AM
Re: Optional Widget for Linux Lite 3.2 - by Valtam - 09-20-2016, 02:04 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)