From 8e69a3a3be08a084678a8c7dc7e7bb6581fbad40 Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Fri, 26 Apr 2024 23:22:49 -0700 Subject: [PATCH] feat(scripts): add desktop script for post-processing --- contrib/generate-releases.sh | 2 ++ scripts/desktop.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 scripts/desktop.sh diff --git a/contrib/generate-releases.sh b/contrib/generate-releases.sh index 8fb75c9..8166c84 100755 --- a/contrib/generate-releases.sh +++ b/contrib/generate-releases.sh @@ -47,6 +47,8 @@ for i in $@; do /usr/share/aoscbootstrap/scripts/enable-nvidia-drivers.sh \ -s \ /usr/share/aoscbootstrap/scripts/enable-dkms.sh \ + -s \ + /usr/share/aoscbootstrap/scripts/desktop.sh \ --include-files /usr/share/aoscbootstrap/recipes/$i.lst \ --export-tar-xz os-${ARCH:-$(dpkg --print-architecture)}/$i/aosc-os_${i}_$(date +%Y%m%d)_${ARCH:-$(dpkg --print-architecture)}.tar.xz \ --export-squashfs os-${ARCH:-$(dpkg --print-architecture)}/$i/aosc-os_${i}_$(date +%Y%m%d)_${ARCH:-$(dpkg --print-architecture)}.squashfs diff --git a/scripts/desktop.sh b/scripts/desktop.sh new file mode 100644 index 0000000..2baaded --- /dev/null +++ b/scripts/desktop.sh @@ -0,0 +1,2 @@ +echo "Removing Plasma wallpapers ..." +oma purge plasma-workspace-wallpapers --yes