betterer code

This commit is contained in:
René Fuhry
2023-01-31 00:29:35 +01:00
committed by GitHub
parent 2aca92f351
commit 2a00f56fc6
4 changed files with 44 additions and 53 deletions

View File

@ -1,13 +1,7 @@
# 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.
## Dependencies
Needed dependencies
```bash
pacman -S zip
```
## Installation
```bash
@ -25,12 +19,12 @@ make install
Usage: update [OPTION]
options:
no flag same as -a
-f updates using flatpak update only
-y updates using an aur-helper only
-a updates using flatpak update and an aur-helper
-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)
no flag same as -a
-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)
```
## Roadmap