[neon/snap-packaging/plasma-core-desktop] hooks: Explicitly remove gnome-initial-setup after it got installed
Kevin Ottens
null at kde.org
Wed Jun 12 20:34:37 BST 2024
Git commit 73f30662a0aed3d772064c08a1bd58a0f23c74d6 by Kevin Ottens.
Committed on 12/06/2024 at 16:15.
Pushed by ervin into branch 'master'.
Explicitly remove gnome-initial-setup after it got installed
The only thing we really need is for its dconf schema to be processed.
Might be able to completely avoid installing it when switching to provd.
M +4 -1 hooks/010-configure-system-setup-tool.chroot
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/73f30662a0aed3d772064c08a1bd58a0f23c74d6
diff --git a/hooks/010-configure-system-setup-tool.chroot b/hooks/010-configure-system-setup-tool.chroot
index e84ee8a..b8b49b1 100755
--- a/hooks/010-configure-system-setup-tool.chroot
+++ b/hooks/010-configure-system-setup-tool.chroot
@@ -27,4 +27,7 @@ sed -i '3 i "colorScheme": "prefer-light",' /usr/share/gnome-shell/modes/initial
sed -i '4 i "themeResourceName": "theme/Yaru/gnome-shell-theme.gresource",' /usr/share/gnome-shell/modes/initial-setup.json
sed -i '5 i "iconsResourceName": "theme/Yaru/gnome-shell-icons.gresource",' /usr/share/gnome-shell/modes/initial-setup.json
-mv /init-default.compiled /usr/share/gnome-initial-setup/initial-setup-dconf-defaults
\ No newline at end of file
+mv /init-default.compiled /usr/share/gnome-initial-setup/initial-setup-dconf-defaults
+
+apt autoremove -y gnome-initial-setup
+
More information about the Neon-commits
mailing list