René Fuhry c7134e7919
Made flatpak optional and some code cleanup (#11)
* Add PKGBUILD

* This is a basic implementation that works.

* I know what I am doing. Trust me.

* Made flatpak optional and code cleanup

* fixed issue with useless error msg

---------

Co-authored-by: FUH22860 <101731147+FUH22860@users.noreply.github.com>
2023-03-09 00:19:24 +01:00
2022-12-03 23:57:19 +00:00

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

git clone https://github.com/AustrianToast/update.git && cd update

Before installing, please edit the config and configure it to your liking.

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!

Description
alpm hooks for the pacman package manager
Readme GPL-3.0 2.3 MiB
Languages
Shell 56.6%
Go 30.4%
Makefile 13%