diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-14 09:01:49 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-14 09:02:19 +0000 |
commit | cc5299d631bdee95afdb7dd6b4ce52b232e154d3 (patch) | |
tree | 40661c153add39f67bd90208eb0ca09acc347fe2 /community/msttcorefonts-installer/remove-debian-stuff.patch | |
parent | 92887a9601007413e45f0076631259dd541eba58 (diff) | |
download | aports-cc5299d631bdee95afdb7dd6b4ce52b232e154d3.tar.bz2 aports-cc5299d631bdee95afdb7dd6b4ce52b232e154d3.tar.xz |
community/msttcorefonts-installer: move into community
Diffstat (limited to 'community/msttcorefonts-installer/remove-debian-stuff.patch')
-rw-r--r-- | community/msttcorefonts-installer/remove-debian-stuff.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/msttcorefonts-installer/remove-debian-stuff.patch b/community/msttcorefonts-installer/remove-debian-stuff.patch new file mode 100644 index 0000000000..52ea32bc25 --- /dev/null +++ b/community/msttcorefonts-installer/remove-debian-stuff.patch @@ -0,0 +1,33 @@ +--- a/update-ms-fonts ++++ b/update-ms-fonts +@@ -34,7 +34,7 @@ + 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 + } + +@@ -190,11 +190,6 @@ + # Give sane names. These are nearly the same names MS uses for the + # Macintosh versions + +- mkdir -p /usr/share/doc/ttf-mscorefonts-installer $FONTDIR +- if [ -e licen.txt ] ; then +- mv licen.txt '/usr/share/doc/ttf-mscorefonts-installer/READ_ME!' +- gzip -f -9 '/usr/share/doc/ttf-mscorefonts-installer/READ_ME!' +- fi + 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 @@ + 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 + fi + + cd / |