scripts/shell/archup.sh
2024-03-20 11:28:46 -05:00

14 lines
283 B
Bash
Executable file

#!/usr/bin/env bash
#
# SPDX-License-Identifier: MIT
function error_exit {
echo "Trapped a kill signal, exiting."
exit 1
}
trap error_exit SIGHUP SIGINT SIGTERM SIGQUIT
sudo journalctl --vacuum-time 30d
pikaur -Sc --noconfirm
paccache -c ~/.cache/pikaur/pkg/ -vrk1
pikaur -Syu