Permalink
Browse files

lintian complains about 'source'

  • Loading branch information...
1 parent f8bcc63 commit d692de0caf98fe26ee72ed56db08f2f9be3227b6 @SyntaxPolice SyntaxPolice committed Feb 19, 2005
Showing with 4 additions and 2 deletions.
  1. +2 −1 debian/libghc6-cabal-dev.postinst
  2. +2 −1 debian/libghc6-cabal-dev.prerm
View
3 debian/libghc6-cabal-dev.postinst
@@ -19,7 +19,8 @@ set -e
case "$1" in
configure)
- source /usr/share/doc/libghc6-cabal-dev/register.sh
+ chmod +x /usr/share/doc/libghc6-cabal-dev/register.sh
+ /usr/share/doc/libghc6-cabal-dev/register.sh
;;
abort-upgrade|abort-remove|abort-deconfigure)
View
3 debian/libghc6-cabal-dev.prerm
@@ -19,7 +19,8 @@ set -e
case "$1" in
remove|upgrade|deconfigure)
- source /usr/share/doc/libghc6-cabal-dev/unregister.sh
+ chmod +x /usr/share/doc/libghc6-cabal-dev/unregister.sh
+ /usr/share/doc/libghc6-cabal-dev/unregister.sh
rm -f /usr/lib/haskell-packages/ghc6/lib/Cabal-0.5/HSCabal*.o
# install-info --quiet --remove /usr/info/missingh.info.gz

0 comments on commit d692de0

Please sign in to comment.