dotfiles/config/updateall/scripts/10-arch

10 lines
167 B
Bash
Executable file

#!/bin/sh -ex
if [ "$(whoami)" = root ]; then
aura -Scc
aura -Fy
aura -Syu
aura -Qdtq | aura -Rns -
else
sudo -- "$0" "$@"
aura -Au --devel
fi