alpm hooks for the pacman package manager
Go to file
2024-09-12 22:02:20 +02:00
legacy move stuff around 2024-09-08 16:36:19 +02:00
.gitignore move stuff around 2024-09-08 16:36:19 +02:00
backup.go switch to different copy 2024-09-12 22:02:20 +02:00
go.mod switch to different copy 2024-09-12 22:02:20 +02:00
go.sum switch to different copy 2024-09-12 22:02:20 +02:00
LICENSE created License 2022-12-03 23:57:19 +00:00
makefile move stuff around 2024-09-08 16:36:19 +02:00
post_backup.hook move stuff around 2024-09-08 16:36:19 +02:00
pre_backup.hook done with new version 2024-09-08 00:23:20 +02:00
README.md change ZSH_CUSTOM default path 2024-09-08 23:06:20 +02:00
update.toml move stuff around 2024-09-08 16:36:19 +02:00
update.zsh re-add functionality 2024-09-08 22:48:27 +02:00

Update

Alpm hooks for the pacman package manager.
This project consists of two hooks, one for pre-transaction and the other for post-transaction.

Installation

git clone https://gitea.hopeless-cloud.xyz/AustrianToast/update.git
cd update

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

Then install using

make install

If your require the previous functionality of being able to update flatpak and having the ability to preview the updateable packages and flatpaks.
This functionality has been re-packaged into update.zsh.
If you use oh-my-zsh, then you just throw this file into your $ZSH_CUSTOM.
This path is by default ~/.oh-my-zsh/custom. If you use only plain zsh or any other shell, then you can just take the contained functions and put them inside the according shell config file. For example your .bashrc.

The function flatpak-update contains a variable called BACKUP_LOCATION.
Please change this path to your desired backup location.

Contributing

Contributions are always welcome!