2023-01-21 03:35:48 +01:00
|
|
|
# Update
|
2022-12-04 00:59:37 +01:00
|
|
|
|
2024-09-08 23:02:34 +02:00
|
|
|
Alpm hooks for the pacman package manager.<br>
|
|
|
|
This project consists of two hooks, one for pre-transaction and the other for
|
|
|
|
post-transaction.
|
2023-01-21 03:35:48 +01:00
|
|
|
|
2023-10-29 00:17:28 +02:00
|
|
|
## Installation
|
2023-01-21 03:35:48 +01:00
|
|
|
|
|
|
|
```bash
|
2024-09-08 23:02:34 +02:00
|
|
|
git clone https://gitea.hopeless-cloud.xyz/AustrianToast/update.git
|
|
|
|
cd update
|
2023-01-21 03:35:48 +01:00
|
|
|
```
|
2023-10-29 00:17:28 +02:00
|
|
|
|
2024-09-08 23:02:34 +02:00
|
|
|
Before installing, please edit the config and configure it to your liking.
|
|
|
|
|
2023-10-29 00:17:28 +02:00
|
|
|
Then install using
|
2023-03-29 15:30:05 +02:00
|
|
|
```bash
|
2024-09-08 16:36:19 +02:00
|
|
|
make install
|
2023-01-21 03:35:48 +01:00
|
|
|
```
|
|
|
|
|
2024-09-08 23:02:34 +02:00
|
|
|
If your require the previous functionality of being able to update flatpak and
|
2024-09-08 23:04:11 +02:00
|
|
|
having the ability to preview the updateable packages and flatpaks.<br>
|
2024-09-08 23:02:34 +02:00
|
|
|
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`.<br>
|
|
|
|
This path is by default `~/.oh-my-zsh`. 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`.<br>
|
|
|
|
Please change this path to your desired backup location.
|
|
|
|
|
2024-07-07 01:15:10 +02:00
|
|
|
## Contributing
|
2023-03-09 00:27:01 +01:00
|
|
|
Contributions are always welcome!
|