Changeset 4227

Show
Ignore:
Timestamp:
04/25/08 16:48:48 (2 months ago)
Author:
pmoura
Message:
Updated the Debian installer package shell scripts for POSIX compliance, removing dependencies on bash shell features.
Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r4226 r4227  
    119119    Updated the "lgtxml.xsl" XSLT style-sheet to ensure that the generated  
    120120    HTML files are fully compliant with the HTML 4.01 standard. 
     121 
     122    Updated the Debian installer package shell scripts for POSIX compliance,  
     123    removing dependencies on bash shell features. 
    121124 
    122125 
  • trunk/scripts/debian/postinst

    r4220 r4227  
    1 #!/bin/bash 
     1#!/bin/sh 
    22 
    33## ================================================================ 
     
    1616echo "Installing and registering Logtalk online documentation..." 
    1717 
    18 if [ "$1" = configure ]; then 
    19     if which install-docs >/dev/null 2>&1; then 
     18if [ "$1" = "configure" ] ; then 
     19    if which install-docs > /dev/null 2>&1 ; then 
    2020        install-docs -i /usr/share/doc-base/logtalk-docs 
    2121    fi 
     
    2626echo "Adding menu entries for some of the Logtalk integration scripts..." 
    2727 
    28 if test -x /usr/bin/update-menus; then 
     28if [ -x /usr/bin/update-menus ] ; then 
    2929    update-menus 
    3030fi 
  • trunk/scripts/debian/postrm

    r4102 r4227  
    1 #!/bin/bash 
     1#!/bin/sh 
    22 
    33## ================================================================ 
     
    1010echo "Removing menu entries for some of the Logtalk integration scripts..." 
    1111 
    12 if test -x /usr/bin/update-menus; then 
     12if [ -x /usr/bin/update-menus ] ; then 
    1313    update-menus 
    1414fi 
  • trunk/scripts/debian/prerm

    r4102 r4227  
    1 #!/bin/bash 
     1#!/bin/sh 
    22 
    33## ================================================================ 
     
    1111echo "Uninstalling and de-registering Logtalk online documentation..." 
    1212 
    13 if [ "$1" = remove -o "$1" = upgrade ]; then 
    14     if which install-docs >/dev/null 2>&1; then 
     13if [ "$1" = "remove" ] || [ "$1" = "upgrade" ] ; then 
     14    if which install-docs > /dev/null 2>&1 ; then 
    1515        install-docs -r logtalk-docs 
    1616    fi