Small Python script that sends update notifications via e-mail and optionally updates Arch Linux (by running pacman -Syu --noconfirm
).
Requires:
- Python >3.5
- pacAUR
- pacman (Comes with Arch Linux)
- Working and Ready For Use
Install the dependencies:
alias pacman='sudo pacman'
pacman -Syu --noconfirm
pacman -S git && git clone https://aur.archlinux.org/pacaur-git.git && cd pacaur-git && makepkg && pacman -U pacaur-git-*.tar.xz
Configure the program:
- Open
settings.py
and input your preferences- The minimum required is to set your receiver email
- A working notification only Gmail account is already attached (please don't fu** it up)
- Install pacAUR if you want AUR update notifications.
- Place
auto_upgrade.py
in/root
(if you chose another path adjust auto_upgrade.service) - Place
auto_upgrage.service
andauto_upgrade.timer
in/etc/systemd/system/
. - Enable the timer service by running:
systemctl enable auto_upgrade.timer
Now it should start working ;)