Created
October 4, 2016 14:36
-
-
Save siers/fca0f6f666833731ffd53f2b6e884966 to your computer and use it in GitHub Desktop.
The diff from a local fork of checkupdates that downloads latest packages so you can start upgrading on the minute's whim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# diff /usr/bin/checkupdates ~/downloadupdates | |
107,108c107,108 | |
< fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null | |
< pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' | |
--- | |
> pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null | |
> pacman -Suw --dbpath "$CHECKUPDATES_DB" --noconfirm | |
# crontab -l | grep downloadupdates | |
* * * * * ~root/downloadupdates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment