diff options
Diffstat (limited to 'community/msttcorefonts-installer/remove-debian-stuff.patch')
-rw-r--r-- | community/msttcorefonts-installer/remove-debian-stuff.patch | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/community/msttcorefonts-installer/remove-debian-stuff.patch b/community/msttcorefonts-installer/remove-debian-stuff.patch index 52ea32bc257..085f707ec08 100644 --- a/community/msttcorefonts-installer/remove-debian-stuff.patch +++ b/community/msttcorefonts-installer/remove-debian-stuff.patch @@ -1,15 +1,26 @@ +From 64ae7397450876ab95d5713bbd2393630e4928f5 Mon Sep 17 00:00:00 2001 +From: Leonardo Arena <rnalrd@gmail.com> +Date: Tue, 4 Jan 2022 12:01:39 +0000 +Subject: [PATCH] remove debian stuff + +--- + update-ms-fonts | 12 +----------- + 1 file changed, 1 insertion(+), 11 deletions(-) + +diff --git a/update-ms-fonts b/update-ms-fonts +index 89d95c3..c726c57 100755 --- a/update-ms-fonts +++ b/update-ms-fonts -@@ -34,7 +34,7 @@ +@@ -34,7 +34,7 @@ export http_proxy mstt_exit_with_error() { - echo "$1" - echo "The fonts are NOT installed." -- echo "Please run 'dpkg-reconfigure ttf-mscorefonts-installer' to perform the installation again" -+ echo "Please run 'update-ms-fonts' to perform the installation again" - exit 0 # still install the Debian package + echo "$1" >&2 + echo "The fonts are NOT installed." >&2 +- echo "Please run 'dpkg-reconfigure ttf-mscorefonts-installer' to perform the installation again" >&2 ++ echo "Please run 'update-ms-fonts' to perform the installation again" >&2 + exit 1 } -@@ -190,11 +190,6 @@ +@@ -188,11 +188,6 @@ EOF # Give sane names. These are nearly the same names MS uses for the # Macintosh versions @@ -21,13 +32,18 @@ for ff in $FONTFILES; do for ttf in `grep $ff msfonts.info | awk '{print $4}'`; do longname=`awk "/$ttf/ { print \\$2 }" msfonts.info` -@@ -203,9 +198,6 @@ +@@ -201,11 +196,6 @@ EOF done done - # Make a note of what we installed so we can uninstall it later - awk '{print $2}' msfonts.info > /var/lib/msttcorefonts/ms-fonts - awk '{print $4}' msfonts.info >> /var/lib/msttcorefonts/ms-fonts +- +- dpkg-trigger --no-await /usr/share/fonts fi cd / +-- +2.34.1 + |