1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/msttcorefonts-installer/remove-debian-stuff.patch

33 lines
1.1 KiB
Diff

--- 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 /