37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
# 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
|
|
|
|
```bash
|
|
git clone https://github.com/AustrianToast/update.git && cd update
|
|
```
|
|
|
|
Before installing, please edit the config and configure it to your liking.
|
|
|
|
```bash
|
|
make install
|
|
```
|
|
|
|
You will likely have to
|
|
|
|
## 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 (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
|
|
```
|
|
|
|
## Contributing
|
|
|
|
Contributions are always welcome! |