AustrianToast
ea112d4ceb
Added some sanity checks inside the script. Rewrote some parts in the README.md. Completely removed the makefile, because I don't fell like supporting it anymore. Co-authored-by: ProfessionalUwU <andre.fuhry@hopeless-cloud.xyz> Reviewed-on: #22 Reviewed-by: ProfessionalUwU <andre.fuhry@hopeless-cloud.xyz> Co-authored-by: AustrianToast <austriantoast@hopeless-cloud.xyz> Co-committed-by: AustrianToast <austriantoast@hopeless-cloud.xyz>
1.3 KiB
1.3 KiB
Update
Update script written in Bash for Arch Linux only. 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 and aur packages and flatpaks.
Requirements
Here is what is required.
pacman -S just
It also technically requires sudo, but if you use something else, then just create a softlink for this script to work.
Doing that would look like this.
ln -s /usr/bin/your_program /usr/bin/sudo
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
just install
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
-r reboots the computer afterwards
--help displays this message
--preview shows a preview of which pkg's will be updates
--version prints out the version number
--backup just does the before-backup without updating
Contributing
Contributions are always welcome!