From c2abe2a472d1db81e5b3468426b8e4c9e093f122 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sun, 10 Nov 2024 12:39:36 +0100 Subject: [PATCH] feat: add azure-cli quadlet --- build.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3e3bbcf..e8c6ffb 100755 --- a/build.sh +++ b/build.sh @@ -44,13 +44,35 @@ pip install --prefix=/usr topgrade # Installed via flatpak rpm-ostree override remove firefox firefox-langpacks +#### Quadlets + +curl -Lo /etc/containers/systemd/users/azure-cli.container https://raw.githubusercontent.com/babariviere/toolboxes/main/quadlets/azure-cli/azure-cli.container +sed -i 's/ContainerName=azure/ContainerName=azure-cli/' /etc/containers/systemd/users/azure-cli.container + +# Make systemd targets +mkdir -p /usr/lib/systemd/user +QUADLET_TARGETS=( + "azure-cli" +) +for i in "${QUADLET_TARGETS[@]}" +do +cat > "/usr/lib/systemd/user/${i}.target" <