소스 검색

automatically update the TeX hash files to make sure the installed .enc files are immediately available

Ralf S. Engelschall 19 년 전
부모
커밋
f7d9b1d064
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      lcdf-typetools/lcdf-typetools.spec

+ 10 - 0
lcdf-typetools/lcdf-typetools.spec

@@ -168,3 +168,13 @@ AutoReqProv:  no
 %clean
     rm -rf $RPM_BUILD_ROOT
 
+%post
+    #   update TeX hashes
+    $RPM_INSTALL_PREFIX/bin/texhash >/dev/null 2>&1 || true
+    exit 0
+
+%postun
+    #   update TeX hashes
+    $RPM_INSTALL_PREFIX/bin/texhash >/dev/null 2>&1 || true
+    exit 0
+