update/README.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2023-01-21 03:35:48 +01:00
# Update
2022-12-04 00:59:37 +01:00
2023-01-21 03:35:48 +01:00
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
```bash
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
2023-01-21 03:35:48 +01:00
```bash
make install
```
or
```bash
just install
```
2023-03-29 15:36:44 +02:00
=======
2023-01-21 03:35:48 +01:00
## Usage
```
Usage: update [OPTION]
options:
2023-03-09 00:08:16 +01:00
no flag same as -p
2023-01-31 00:29:35 +01:00
-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 (needs to be the last or only option to work properly)
-r reboots the computer afterwards (needs to be the last or only option to work properly)
--help displays this message
-P, --preview shows a preview of which pkg's will be updates
2023-01-21 03:35:48 +01:00
```
## Contributing
2023-03-09 00:27:01 +01:00
Contributions are always welcome!