[Pkg-haskell-commits] darcs: ghc: prerm, not postrm
Joachim Breitner
mail at joachim-breitner.de
Fri Jun 17 15:34:31 UTC 2011
Fri Jun 17 15:21:07 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* prerm, not postrm
Ignore-this: d408bb27eaff1ab8f30ee503a7a3c045
R ./ghc-doc.postrm.in
M ./ghc-doc.prerm -8 +11
Fri Jun 17 15:21:07 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* prerm, not postrm
Ignore-this: d408bb27eaff1ab8f30ee503a7a3c045
diff -rN -u old-ghc//ghc-doc.postrm.in new-ghc//ghc-doc.postrm.in
--- old-ghc//ghc-doc.postrm.in 2011-06-17 15:34:31.187783200 +0000
+++ new-ghc//ghc-doc.postrm.in 1970-01-01 00:00:00.000000000 +0000
@@ -1,25 +0,0 @@
-#! /bin/sh
-
-set -e
-
-case "$1" in
- remove)
- # Remove files generated by the postinst trigger
- rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
- /usr/share/doc/ghc-doc/html/libraries/doc-index*.html \
- /usr/share/doc/ghc-doc/html/libraries/frames.html \
- /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
- /usr/share/doc/ghc-doc/html/libraries/haddock-util.js \
- /usr/share/doc/ghc-doc/html/libraries/hslogo-16.png \
- /usr/share/doc/ghc-doc/html/libraries/minus.gif \
- /usr/share/doc/ghc-doc/html/libraries/plus.gif \
- /usr/share/doc/ghc-doc/html/libraries/ocean.css \
- /usr/share/doc/ghc-doc/html/libraries/synopsis.png
- ;;
- *)
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -rN -u old-ghc//ghc-doc.prerm new-ghc//ghc-doc.prerm
--- old-ghc//ghc-doc.prerm 2011-06-17 15:34:31.187783200 +0000
+++ new-ghc//ghc-doc.prerm 2011-06-17 15:34:31.207778011 +0000
@@ -16,14 +16,17 @@
case "$1" in
remove|upgrade|deconfigure|failed-upgrade)
- rm -f /usr/share/doc/ghc-doc/libraries/doc-index*.html
- rm -f /usr/share/doc/ghc-doc/libraries/haddock.css
- rm -f /usr/share/doc/ghc-doc/libraries/haddock.js
- rm -f /usr/share/doc/ghc-doc/libraries/index.html
- rm -f /usr/share/doc/ghc-doc/libraries/libraries.txt
- rm -f /usr/share/doc/ghc-doc/libraries/haskell_icon.gif
- rm -f /usr/share/doc/ghc-doc/libraries/minus.gif
- rm -f /usr/share/doc/ghc-doc/libraries/plus.gif
+ # Remove files generated by the postinst trigger
+ rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
+ /usr/share/doc/ghc-doc/html/libraries/doc-index*.html \
+ /usr/share/doc/ghc-doc/html/libraries/frames.html \
+ /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
+ /usr/share/doc/ghc-doc/html/libraries/haddock-util.js \
+ /usr/share/doc/ghc-doc/html/libraries/hslogo-16.png \
+ /usr/share/doc/ghc-doc/html/libraries/minus.gif \
+ /usr/share/doc/ghc-doc/html/libraries/plus.gif \
+ /usr/share/doc/ghc-doc/html/libraries/ocean.css \
+ /usr/share/doc/ghc-doc/html/libraries/synopsis.png
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
More information about the Pkg-haskell-commits
mailing list