Jelajahi Sumber

also update on deinstallation

Ralf S. Engelschall 23 tahun lalu
induk
melakukan
b00538e469
1 mengubah file dengan 9 tambahan dan 6 penghapusan
  1. 9 6
      latex2html/latex2html.spec

+ 9 - 6
latex2html/latex2html.spec

@@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Misc
 License:      GPL
 Version:      %{V_opkg}
-Release:      20030125
+Release:      20030127
 
 #   list of sources
 Source0:      http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-%{V_dist}.tar.gz
@@ -105,9 +105,12 @@ AutoReqProv:  no
     rm -rf $RPM_BUILD_ROOT
 
 %post
-    if [ $1 -eq 1 ]; then
-        echo "Running mktexlsr to rebuild teTeX ls-R database..." |\
-            %{l_rpmtool} msg -t notice
-        %{l_prefix}/bin/mktexlsr
-    fi
+    echo "Running mktexlsr to rebuild teTeX ls-R database..." |\
+        %{l_rpmtool} msg -t notice
+    %{l_prefix}/bin/mktexlsr
+
+%postun
+    echo "Running mktexlsr to rebuild teTeX ls-R database..." |\
+        %{l_rpmtool} msg -t notice
+    %{l_prefix}/bin/mktexlsr