Show
Ignore:
Timestamp:
04/25/08 16:48:48 (7 months ago)
Author:
pmoura
Message:

Updated the Debian installer package shell scripts for POSIX compliance, removing dependencies on bash shell features.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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