aboutsummaryrefslogtreecommitdiffstats
path: root/testing/msttcorefonts-installer/remove-debian-stuff.patch
blob: 52ea32bc257641d538da826556038e49372b9a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 /