debian/rules: fix openkylin vendor

This commit is contained in:
luoyaoming 2022-06-05 20:33:08 +08:00
parent 5b9792690f
commit 284d4f7004
2 changed files with 14 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
fonts-android (1:6.0.1r16-ok2) yangtze; urgency=medium
* debian/rules:
fix openkylin vendor
-- Luoyaoming <luoyaoming@kylinos.cn> Fri, 03 Jun 2022 14:47:57 +0800
fonts-android (1:6.0.1r16-ok1) yangtze; urgency=medium fonts-android (1:6.0.1r16-ok1) yangtze; urgency=medium
* Build for openKylin. * Build for openKylin.

7
debian/rules vendored
View File

@ -10,4 +10,11 @@ override_dh_install:
ln -s ../conf.avail/65-droid-sans-fallback.conf \ ln -s ../conf.avail/65-droid-sans-fallback.conf \
debian/fonts-droid-fallback/etc/fonts/conf.d/65-droid-sans-fallback.conf; \ debian/fonts-droid-fallback/etc/fonts/conf.d/65-droid-sans-fallback.conf; \
fi 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 dh_install