root/trunk/scripts/debian/postinst

Revision 4662, 2.7 KB (checked in by pmoura, 5 days ago)

Updated copyright notice.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3## ================================================================
4## Logtalk - Open source object-oriented logic programming language
5## Release 2.35.0
6##
7## Copyright (c) 1998-2009 Paulo Moura.        All Rights Reserved.
8## Logtalk is free software.  You can redistribute it and/or modify
9## it under the terms of the "Artistic License 2.0" as published by
10## The Perl Foundation. Consult the "LICENSE.txt" file for details.
11## ================================================================
12
13echo ""
14echo "Installed Logtalk on \"/usr/share\"."
15
16chown -f -R -L root:root /usr/share/logtalk
17
18echo ""
19echo "Installing and registering Logtalk online documentation..."
20
21if [ "$1" = "configure" ] ; then
22    if which install-docs > /dev/null 2>&1 ; then
23        install-docs -i /usr/share/doc-base/logtalk-docs
24    fi
25fi
26
27chown -f -R -L root:root /usr/share/doc/logtalk
28
29echo "Adding menu entries for some of the Logtalk integration scripts..."
30
31if [ -x /usr/bin/update-menus ] ; then
32    update-menus
33fi
34
35echo
36echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", \"lgt2xml\", and "
37echo "\"lgt2txt\" scripts have been created on \"/usr/bin\"."
38echo
39echo "The following integration scripts are installed for running Logtalk"
40echo "with selected back-end Prolog compilers:"
41echo
42echo "* B-Prolog (version 7.1 or later):         bplgt      (first run must use sudo)"
43echo "* CIAO (version 1.10#5 or later):          ciaolgt    (first run must use sudo)"
44echo "* CxProlog (version 0.97.2 or later):      cxlgt"
45echo "* ECLiPSe (versions 5.10, 6.0):            eclipselgt"
46echo "* GNU Prolog (version 1.3.0 or later):     gplgt"
47echo "* K-Prolog (version 5.1.x):                plclgt"
48echo "* Qu-Prolog (version 8.1 or later):        qplgt"
49echo "* Quintus Prolog (version 3.5):            quintuslgt  (implies patching Logtalk)"
50echo "* SICStus Prolog (versions 3.12.x, 4.0.x): sicstuslgt"
51echo "* SWI-Prolog (version 5.6.44 or later):    swilgt"
52echo "* XSB (version 3.1 or later):              xsblgt     (first run must use sudo)"
53echo "* XSB MT (CVS version):                    xsbmtlgt   (first run must use sudo)"
54echo "* XSB MT 64 bits (CVS version):            xsbmt64lgt (first run must use sudo)"
55echo "* YAP (version 5.1.3 or later):            yaplgt"
56echo
57echo "The Prolog integration scripts can be found on \"/usr/bin\"."
58echo "Make sure that the Prolog compilers are properly installed and available"
59echo "on your execution path."
60echo
61echo "Users should run the \"cplgtdirs\" shell script once before using the"
62echo "integration scripts."
63echo
64echo "If you get an unexpected failure when using one of the Prolog integration"
65echo "scripts, consult see the \"/usr/share/logtalk/configs/NOTES.txt\" file"
66echo "for compatibility notes."
67echo
68echo "Logtalk basic installation completed."
69echo
Note: See TracBrowser for help on using the browser.