From 4dae99187370990ceb3ce9ffd1a80c18f364fe56 Mon Sep 17 00:00:00 2001 From: Sertonix <sertonix@posteo.net> Date: Sat, 23 Dec 2023 03:02:21 +0100 Subject: [PATCH] community/msttcorefonts-installer: posix compatible post-install message --- community/msttcorefonts-installer/APKBUILD | 2 +- .../msttcorefonts-installer.post-install | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/community/msttcorefonts-installer/APKBUILD b/community/msttcorefonts-installer/APKBUILD index 7dc68b916531..e239129a7799 100644 --- a/community/msttcorefonts-installer/APKBUILD +++ b/community/msttcorefonts-installer/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=msttcorefonts-installer pkgver=3.8.1 -pkgrel=0 +pkgrel=1 pkgdesc="Installer for Microsoft TrueType core fonts" url="https://packages.debian.org/sid/ttf-mscorefonts-installer" arch="noarch" diff --git a/community/msttcorefonts-installer/msttcorefonts-installer.post-install b/community/msttcorefonts-installer/msttcorefonts-installer.post-install index 36c7e0d0a00c..2c4a6b6af19a 100755 --- a/community/msttcorefonts-installer/msttcorefonts-installer.post-install +++ b/community/msttcorefonts-installer/msttcorefonts-installer.post-install @@ -1,5 +1,8 @@ #!/bin/sh -echo "*" >&2 -echo -e "* With root permissions run \"update-ms-fonts\" and once completed" >&2 -echo -e "* run \"fc-cache -f\" in order to update the font cache" >&2 -echo -e "*" >&2 + +cat >&2 <<EOF +* +* With root permissions run "update-ms-fonts" and once completed +* run "fc-cache -f" in order to update the font cache +* +EOF -- GitLab