From abb63b54e9e41792504dcc829ce0f5169022879f Mon Sep 17 00:00:00 2001 From: Rudra Saraswat Date: Sat, 4 Apr 2026 02:41:09 +0100 Subject: [PATCH] fix: pass commands to exec correctly --- arch-desktop.yaml | 27 ++++++++++++++------------- arch.yaml | 1 + ubuntu.yaml | 1 + 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/arch-desktop.yaml b/arch-desktop.yaml index b358e55..1e26b25 100644 --- a/arch-desktop.yaml +++ b/arch-desktop.yaml @@ -2,19 +2,20 @@ track: "https://git.ruds.io/rs2009/blendOS-tracks/raw/branch/main/arch.yaml" stages: - module: exec - run: | - if [[ "$BASE_DESKTOP" = gnome ]]; then - pacman -Syqu --noconfirm gnome - systemctl enable gdm - elif [[ "$BASE_DESKTOP" = plasma ]]; then - pacman -Syqu --noconfirm sddm plasma \ - kde-accessibility-meta \ - kde-multimedia-meta \ - kde-system-meta \ - kde-utilities-meta \ - discover - systemctl enable sddm - fi + inputs: + - | + if [[ "$BASE_DESKTOP" == gnome ]]; then + pacman -Syqu --noconfirm gnome + systemctl enable gdm + elif [[ "$BASE_DESKTOP" == plasma ]]; then + pacman -Syqu --noconfirm sddm plasma \ + kde-accessibility-meta \ + kde-multimedia-meta \ + kde-system-meta \ + kde-utilities-meta \ + discover + systemctl enable sddm + fi env: BASE_DESKTOP: gnome diff --git a/arch.yaml b/arch.yaml index 56409a5..a3a500c 100644 --- a/arch.yaml +++ b/arch.yaml @@ -80,6 +80,7 @@ stages: - | git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara cp -a /akshara/usr/* /usr + rm -rf /akshara - module: systemctl-enable inputs: diff --git a/ubuntu.yaml b/ubuntu.yaml index 9b3b684..ac8d01c 100644 --- a/ubuntu.yaml +++ b/ubuntu.yaml @@ -32,6 +32,7 @@ stages: - | git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara cp -a /akshara/usr/* /usr + rm -rf /akshara post-stages: - module: exec