alpm hooks for the pacman package manager
Go to file
2024-07-13 00:25:14 +02:00
justfile switch justfile to makefile 2024-07-07 00:39:37 +02:00
LICENSE created License 2022-12-03 23:57:19 +00:00
makefile switch justfile to makefile 2024-07-07 00:39:37 +02:00
README.md switch to makefile 2024-07-07 01:15:10 +02:00
update add new color for errors 2024-07-13 00:23:49 +02:00
update.conf modify defaults 2024-07-13 00:25:14 +02:00

Update

Update script written in Bash for Arch Linux only. Keeps all your official, aur packages and your flatpaks up to date with one simple script. It also backups a list of all your installed packages and flatpaks.

Requirements

It 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

make

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!