Up.
This commit is contained in:
parent
0e4ed8a55f
commit
a4ff4b7886
@ -31,7 +31,7 @@ packages=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{ if ne .chezmoi.username "root" -}}
|
||||||
## Update system
|
## Update system
|
||||||
inf "updating system..."
|
inf "updating system..."
|
||||||
sudo pacman -Syu --noconfirm --quiet
|
sudo pacman -Syu --noconfirm --quiet
|
||||||
@ -53,7 +53,7 @@ packages=(
|
|||||||
yay -S --noconfirm --removemake --quiet $package
|
yay -S --noconfirm --removemake --quiet $package
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
{{- else }}
|
{{ else -}}
|
||||||
err "you may not run this script as root"
|
err "you may not run this script as root"
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user