diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:20:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:20:19 +0000 |
commit | 96cdff2275c6767e78e4267aee470bd2cb45b3a8 (patch) | |
tree | 624f174a949ecb21b899d3da8b965702c7c4d1b3 /debian | |
parent | Updating vcs fields. (diff) | |
download | gnome-software-96cdff2275c6767e78e4267aee470bd2cb45b3a8.tar.xz gnome-software-96cdff2275c6767e78e4267aee470bd2cb45b3a8.zip |
Making org.gnome.software gsettings overrides derivatives friendlier.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/gnome-software.gsettings-override.in | 2 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/gnome-software.gsettings-override.in b/debian/gnome-software.gsettings-override.in index f6ee4a0..3f5d025 100644 --- a/debian/gnome-software.gsettings-override.in +++ b/debian/gnome-software.gsettings-override.in @@ -1,4 +1,4 @@ [org.gnome.software] -official-repos=['@DISTRO@-*'] +official-repos=[@OFFICIAL_REPOS@] free-repos=[@FREE_REPOS@] free-repos-url='@URL@' diff --git a/debian/rules b/debian/rules index 8595ee9..8e33449 100755 --- a/debian/rules +++ b/debian/rules @@ -47,6 +47,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)) @@ -72,7 +73,7 @@ ifneq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes)) endif 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 |