Changeset 2176

Show
Ignore:
Timestamp:
04/24/08 18:02:56 (3 weeks ago)
Author:
anarcat
Message:

remove bashisms in shell scripts.

See #1122

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-webalizer/trunk/alternc-webalizer

    r2170 r2176  
    1717trap cleanup 1 2 15 
    1818 
    19 function cleanup { 
     19cleanup { 
    2020    rm -f $TMPLOG 
    2121    rm -rf $CACHEDIR/* 
    2222} 
    2323 
    24 function dostat { 
     24dostat { 
    2525    read LANG DOM DIR USER 
    2626    while [ "$DOM" ] 
  • alternc-webalizer/trunk/debian/changelog

    r2175 r2176  
    88    * add explicit copyright 
    99    * remove Description-fr 
     10  * remove bashisms in shell scripts 
    1011 
    1112 -- Antoine Beaupré <anarcat@koumbit.org>  Thu, 24 Apr 2008 11:47:01 -0400 
  • alternc-webalizer/trunk/debian/postinst

    r2170 r2176  
    1212 
    1313# Configure logrotate.d/apache to create log owned by group www-data : 
    14 function logrotate_apache { 
     14logrotate_apache { 
    1515        cp -a -f $APACHEROTATE $APACHEROTATE.tmp 
    1616        sed -e 's/create 640 root adm/create 640 root www-data/' < $APACHEROTATE > $APACHEROTATE.tmp