[neon/snap-packaging/kde-qt6-core-sdk] /: add missing craftctl default

Scarlett Moore null at kde.org
Sat Jun 8 00:40:53 BST 2024


Git commit c8cd2789a57245ec86bdd55cee19766199c3286e by Scarlett Moore.
Committed on 07/06/2024 at 23:40.
Pushed by scarlettmoore into branch 'master'.

add missing craftctl default

M  +2    -2    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/c8cd2789a57245ec86bdd55cee19766199c3286e

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 08a4294..984f852 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -386,8 +386,8 @@ parts:
       - -usr/share/lintian
       - -usr/share/man
     override-stage: |
-      set -eux
-      find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:prefix=/root/stage/usr:prefix=/snap/kde-qt6-core22-sdk/current/usr:g' {}*" \;
+        craftctl default
+        find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:/root/stage:/snap/$CRAFT_PROJECT_NAME/current:g' {}*" \;
 
   cleanup:
     plugin: nil


More information about the Neon-commits mailing list