[arch-commits] Commit in deepin-desktop-schemas/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Jul 26 07:58:42 UTC 2022


    Date: Tuesday, July 26, 2022 @ 07:58:42
  Author: felixonmars
Revision: 1258660

upgpkg: deepin-desktop-schemas 5.10.6-2: fix network-checker-urls

Modified:
  deepin-desktop-schemas/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-26 07:46:10 UTC (rev 1258659)
+++ PKGBUILD	2022-07-26 07:58:42 UTC (rev 1258660)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-desktop-schemas
 pkgver=5.10.6
-pkgrel=1
+pkgrel=2
 pkgdesc='GSettings deepin desktop-wide schemas'
 arch=('any')
 url="https://github.com/linuxdeepin/deepin-desktop-schemas"
@@ -24,7 +24,8 @@
   sed -i "s#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#" \
     overrides/common/com.deepin.wrap.gnome.desktop.override schemas/com.deepin.dde.appearance.gschema.xml
   # fix network checker url
-  sed -i "s#'https://www.chinauos.com', 'https://www.uniontech.com'#'https://archlinux.org/favicon.ico'#" schemas/com.deepin.dde.network-utils.gschema.xml
+  sed -i "s#'http://detect.uniontech.com', 'http://detectportal.deepin.com'#'http://ping.archlinux.org/nm-check.txt'#" schemas/com.deepin.dde.network-utils.gschema.xml
+  grep uniontech schemas/com.deepin.dde.network-utils.gschema.xml && exit 1 || :
 }
 
 build() {



More information about the arch-commits mailing list