From 284d4f70047e92e5f2a9f73dcfc5593710a0bf54 Mon Sep 17 00:00:00 2001 From: luoyaoming Date: Sun, 5 Jun 2022 20:33:08 +0800 Subject: [PATCH] debian/rules: fix openkylin vendor --- debian/changelog | 7 +++++++ debian/rules | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/debian/changelog b/debian/changelog index 28009ab..eb486c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +fonts-android (1:6.0.1r16-ok2) yangtze; urgency=medium + + * debian/rules: + fix openkylin vendor + + -- Luoyaoming Fri, 03 Jun 2022 14:47:57 +0800 + fonts-android (1:6.0.1r16-ok1) yangtze; urgency=medium * Build for openKylin. diff --git a/debian/rules b/debian/rules index adb6d90..b1b9fbb 100755 --- a/debian/rules +++ b/debian/rules @@ -10,4 +10,11 @@ override_dh_install: ln -s ../conf.avail/65-droid-sans-fallback.conf \ debian/fonts-droid-fallback/etc/fonts/conf.d/65-droid-sans-fallback.conf; \ fi + if dpkg-vendor --is openKylin; then \ + install -m 644 -D debian/local/65-droid-sans-fallback.conf \ + debian/fonts-droid-fallback/etc/fonts/conf.avail/65-droid-sans-fallback.conf; \ + mkdir -p debian/fonts-droid-fallback/etc/fonts/conf.d ; \ + ln -s ../conf.avail/65-droid-sans-fallback.conf \ + debian/fonts-droid-fallback/etc/fonts/conf.d/65-droid-sans-fallback.conf; \ + fi dh_install