summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:58:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:58:08 +0000
commitdfef8e3dc662ca53a7675a1f16113f4ad4704911 (patch)
treec679f20b7bf3311a9007f2f707604d04ecae96d9 /debian/rules
parentUpdating vcs fields. (diff)
downloadgnome-software-dfef8e3dc662ca53a7675a1f16113f4ad4704911.tar.xz
gnome-software-dfef8e3dc662ca53a7675a1f16113f4ad4704911.zip
Making org.gnome.software gsettings overrides derivatives friendlier.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 743d5b8..980cae4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,7 @@ ifeq ($(DEB_HOST_ARCH_OS), linux)
endif
DISTRO_ID = debian
+OFFICIAL_REPOS = \'@DISTRO@-*\'
FREE_REPOS = \'@DISTRO@-*-main\'
FREE_URL = https:\/\/www.debian.org\/social_contract\#guidelines
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
@@ -58,7 +59,7 @@ override_dh_auto_configure:
dh_auto_configure -- $(GS_CONFIGURE_FLAGS)
override_dh_installgsettings:
- sed "s#@FREE_REPOS@#$(FREE_REPOS)#g" debian/gnome-software.gsettings-override.in > debian/gnome-software.gsettings-override
+ sed -e "s#@OFFICIAL_REPOS@#$(OFFICIAL_REPOS)#g" -e "s#@FREE_REPOS@#$(FREE_REPOS)#g" debian/gnome-software.gsettings-override.in > debian/gnome-software.gsettings-override
sed -i "s/@DISTRO@/$(DISTRO_ID)/g" debian/gnome-software.gsettings-override
sed -i "s/@URL@/$(FREE_URL)/g" debian/gnome-software.gsettings-override
dh_installgsettings