Commits

Smith Dhumbumroong committed 9f7e4e5

Remove thailatex codes from ttf-latex-tlwg .install file.

Comments (0)

Files changed (1)

ttf-latex-tlwg/ttf-latex-tlwg.install

-install_thailatex_fonts() {
-    echo ">>> thailatex: patching babel.sty..."
-    sync-babel || return 1
-    echo ">>> thailatex: updating the filename database..."
-    echo ">>> thailatex: updating the fontmap files with updmap..."
-    sync-thailatex || return 1
-}
-
-remove_thailatex_fonts() {
-    echo ">>> thailatex: updating the filename database..."
-    texconfig-sys rehash
-    echo ">>> thailatex: updating the fontmap files with updmap..."
-    updmap-sys --quiet --disable thai.map
-}
-
 update_font_cache() {
   echo -n "Updating font cache... "
   fc-cache -fs > /dev/null
 }
 
 post_install() {
-  install_thailatex_fonts $1
   update_font_cache $1
 }
 
 }
 
 post_remove() {
-  remove_thailatex_fonts $1
-  update_font_cache $1
+  post_install $1
 }