From 4d5e1112aaf5dc413f478ca6c8b9f38d9b4dd423 Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:38:12 +0200 Subject: [PATCH] change behaviour to also update on apply --- crates/00-system/crate.arch.sh | 1 + crates/00-system/crate.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/00-system/crate.arch.sh b/crates/00-system/crate.arch.sh index ce3f7dd..2bdf8c5 100644 --- a/crates/00-system/crate.arch.sh +++ b/crates/00-system/crate.arch.sh @@ -1,4 +1,5 @@ super_apply() { + pacman -Syyu pacman -S --needed sudo reflector if ! grep -q "Reflector" /etc/pacman.d/mirrorlist; then cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak diff --git a/crates/00-system/crate.sh b/crates/00-system/crate.sh index 2a73944..5519bcb 100644 --- a/crates/00-system/crate.sh +++ b/crates/00-system/crate.sh @@ -1,6 +1,7 @@ #!/bin/sh describe="Install stuff on the system!" +scripts="@distro @self" super_apply() { cp files/sudoers /etc/sudoers