[Bug 2025196] Re: [SRU] Conflicts with edubuntu-menu and ubuntustudio-menu
Andreas Hasenack
2025196 at bugs.launchpad.net
Thu Sep 21 13:46:49 UTC 2023
I'm looking at releasing this, and have two questions:
a) Should this be released together with edubuntu-menu? ubuntustudio-
menu has aged enough already, but edubuntu-menu has not
b) This change[1]:
--- a/debian/postinst
+++ b/debian/postinst
@@ -8,6 +8,11 @@ cp /usr/share/ubuntustudio/00_ubuntustudio /etc/dconf/db/site.d
mkdir -p /etc/xdg/menus/applications-merged
cp /usr/share/ubuntustudio/studio.menu /etc/xdg/menus/applications-merged
+mkdir -p /etc/dconf/profile
+if ! [ -f /etc/dconf/profile/user ]; then
+ cp /usr/share/ubuntustudio/user /etc/dconf/profile/user
+fi
+
if [ -f /usr/bin/dconf ]; then
dconf update
fi
diff --git a/debian/postrm b/debian/postrm
index ce155f1..aa7921c 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -5,5 +5,9 @@ if [ -f /usr/bin/dconf ]; then
dconf update
fi
+if [ -f /etc/dconf/profile/user ]; then
+ rm -f /etc/dconf/profile/user
+fi
+
That is removing and adding /etc/dconf/profile/user in every single upgrade of this package. Is this intended? Or did you mean to remove it only when the package is actually being removed?
Otherwise, what about user changes to /etc/dconf/profile/user? They will
be lost on every single package upgrade.
1. https://git.launchpad.net/ubuntu/+source/ubuntustudio-menu/commit/?h=applied/0.72.2&id=636ac247d5ad26689b450ce011a2e75817a70087
--
You received this bug notification because you are a member of Ubuntu
Studio Development, which is subscribed to ubuntustudio-menu in Ubuntu.
https://bugs.launchpad.net/bugs/2025196
Title:
[SRU] Conflicts with edubuntu-menu and ubuntustudio-menu
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edubuntu-menu/+bug/2025196/+subscriptions
More information about the Ubuntu-reviews
mailing list