fix: pass commands to exec correctly

This commit is contained in:
Rudra Saraswat 2026-04-04 02:41:09 +01:00
parent 9493f4c575
commit abb63b54e9
3 changed files with 16 additions and 13 deletions

View file

@ -2,19 +2,20 @@ track: "https://git.ruds.io/rs2009/blendOS-tracks/raw/branch/main/arch.yaml"
stages: stages:
- module: exec - module: exec
run: | inputs:
if [[ "$BASE_DESKTOP" = gnome ]]; then - |
pacman -Syqu --noconfirm gnome if [[ "$BASE_DESKTOP" == gnome ]]; then
systemctl enable gdm pacman -Syqu --noconfirm gnome
elif [[ "$BASE_DESKTOP" = plasma ]]; then systemctl enable gdm
pacman -Syqu --noconfirm sddm plasma \ elif [[ "$BASE_DESKTOP" == plasma ]]; then
kde-accessibility-meta \ pacman -Syqu --noconfirm sddm plasma \
kde-multimedia-meta \ kde-accessibility-meta \
kde-system-meta \ kde-multimedia-meta \
kde-utilities-meta \ kde-system-meta \
discover kde-utilities-meta \
systemctl enable sddm discover
fi systemctl enable sddm
fi
env: env:
BASE_DESKTOP: gnome BASE_DESKTOP: gnome

View file

@ -80,6 +80,7 @@ stages:
- | - |
git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara
cp -a /akshara/usr/* /usr cp -a /akshara/usr/* /usr
rm -rf /akshara
- module: systemctl-enable - module: systemctl-enable
inputs: inputs:

View file

@ -32,6 +32,7 @@ stages:
- | - |
git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara
cp -a /akshara/usr/* /usr cp -a /akshara/usr/* /usr
rm -rf /akshara
post-stages: post-stages:
- module: exec - module: exec