Home

Awesome

AMU - Automatic Manjaro Updater

THIS SCRIPT IS ONLY(!) THOUGHT FOR MANJARO-BASED INSTALLATIONS AND NOTHING ELSE! IT WILL NOT WORK AS INTENDED OR MAKE THE SYSTEM UNUSABLE ON OTHER INSTALLATIONS! USE AT YOUR OWN RISK! POWER LOSS DURING UPDATES CAN LEAVE THE SYSTEM IN AN UNBOOTABLE STATE!

This script will install my custom script to update your system when it's being shutdown. It is tested on Manjaro 21.1.6, but should work on future versions as well.

The script requires root privileges to copy the files to the corresponding locations.

This script also includes a service that updates your flatpak and snap packages at startup.

Pamac (the default package manager of Manjaro) is used to update the system!

The updates are only executed at shutdown, not at reboot.

Features

Known Issues

Pictures

Installing Updates

INSTALLATION

  1. Clone this Repository & extract the zip

  2. optional: replace shutdown_update with shutdown_update_GERMAN in the files folder

  3. make install.sh executable (right click on the file -> properties -> permissions tab -> "is executable")

  4. start install.sh

  5. follow instructions

That's it! Enjoy!

REMOVAL

  1. make uninstall.sh executable (right click on the file -> properties -> permissions tab -> "is executable")

  2. start uninstall.sh

  3. reboot

After that, updates should not be applied at shutdown anymore

TODO

- only apply updates when connected to power AND battery is over 50% charged DONE

- Make installer work with different terminals DONE

Contribution

I'm open and welcome contributions to make this script better and/or available to more distributions. Currently, the script is quite hacky as it is not using the offline-update service, but a custom solution. If you know a better approach, feel free to open a pull request!

Should you encounter any problem, please open an issue. Use at your own risk!

You can tip me anytime via paypal: https://paypal.me/tobiasgoergens :)