From e43eb1177872f52e949fb5f0f93396ed94b0d093 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 2 Aug 2026 14:48:29 +0200 Subject: move to chezmoi --- home/dot_config/yadm/executable_install-arch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 home/dot_config/yadm/executable_install-arch (limited to 'home/dot_config/yadm/executable_install-arch') diff --git a/home/dot_config/yadm/executable_install-arch b/home/dot_config/yadm/executable_install-arch new file mode 100644 index 0000000..a2ed199 --- /dev/null +++ b/home/dot_config/yadm/executable_install-arch @@ -0,0 +1,12 @@ +#!/bin/sh +# ensure we are running on arch linux +[ ! -e /etc/os-release ] && exit 0 +. /etc/os-release +[ "$ID" != 'arch' ] && exit 0 + +# resolve files in this script relative to this script's location +cd "$(dirname "$0")" + +# filter comments and pipe package name list to yay +sed -e 's/#.*//g' -e 's/ //g' -e '/^$/d' packages-arch | yay --needed -Sy - + -- cgit v1.2.3