alpm hooks for the pacman package manager
Go to file
René Fuhry 5b8e9af05a
It should work #16
Proper support for long options and finally correct handling of an interrupt.
A bit of code cleanup and refactoring
2023-04-04 10:42:44 +02:00
justfile Removed version variable 2023-04-03 23:54:11 +02:00
LICENSE created License 2022-12-03 23:57:19 +00:00
makefile Removed version variable 2023-04-03 23:54:11 +02:00
README.md formating 2023-04-04 10:38:52 +02:00
update Fixed Issue with after_backup not completing 2023-04-04 10:36:58 +02:00
update.conf I know what I am doing. Trust me. 2023-02-20 22:47:43 +01:00

Update

Update script written in bash for Arch. Keeps all your pacman and aur packages as well as your flatpaks up to date with one simple script. It also backups a list of all your pacman/aur pkg's and flatpaks. As well as your fstab and the makepkg.conf to the location that you specify in the config.

Installation

git clone https://github.com/AustrianToast/update.git && cd update

Before installing, please edit the config and configure it to your liking.

Then install using

make install

or

just install

Usage

Usage: update [OPTION]

options:
no flag        same as -p
-f             updates using flatpak update only
-p             updates using a pacman-wrapper only
-a             updates using flatpak update and a pacman-wrapper
-g             shutdowns the computer afterwards
-r             reboots the computer afterwards
--help         displays this message
--preview      shows a preview of which pkg's will be updates
--version      prints out the version number

Contributing

Contributions are always welcome!