Skip to content

Check for updates on arch linux machines and send notification (does everything in RAM) with ability to update

License

Notifications You must be signed in to change notification settings

644/check-updates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This script is a bash alternative of aarchup - an update checking daemon with notifications. It will write the database to RAM to save on HDD/SSD write cycles. The idea is because it resyncs the database so frequently, writing directly to the disk constantly could shorten its lifetime.

It doesn't require root priveleges, and will prompt to update with xterm and dialog if any are found. You can press y, LeftArrow-Enter or double click the "Yes" box to begin updating. If you don't want to update just press Enter, n or Esc twice.

Example

Install

wget https://raw.githubusercontent.com/644/check-updates/master/check-updates
sudo install -m 0755 check-updates /usr/local/bin/

Then add the script to a normal user's cronjob (cronie) with crontab -e

Example cron script, runs check-updates every 15 minutes

PATH=/bin:/usr/bin:/usr/local/bin
*/15 * * * * check-updates

Dependencies

  • yay
  • fakeroot
  • notify-send
  • cronie
  • dialog (probably installed)
  • xterm (probably installed)

License

MIT

About

Check for updates on arch linux machines and send notification (does everything in RAM) with ability to update

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages