Clean core24 base snap

This commit is contained in:
Miguel Jacq 2025-02-09 17:49:24 +11:00
parent 9919f32fd0
commit 774298c624
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9

View File

@ -206,11 +206,12 @@ parts:
- meek-client
plugin: nil
build-snaps: # List all content-snaps and base snaps you're using here
- core24
- core22
- go/latest/stable
- gnome-46-2404-sdk
override-prime: |
set -eux
for snap in core22 go/latest/stable gnome-46-2404-sdk; do # List all content-snaps and base snaps you're using here
for snap in core24 core22 go/latest/stable gnome-46-2404-sdk; do # List all content-snaps and base snaps you're using here
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \;
done