wok-next rev 21175

rsh-redone: fix function names
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 14 16:29:51 2019 +0200 (2019-04-14)
parents 459b81bc8ce6
children e752d7f70061
files rsh-redone/receipt
line diff
     1.1 --- a/rsh-redone/receipt	Sun Apr 14 16:02:11 2019 +0200
     1.2 +++ b/rsh-redone/receipt	Sun Apr 14 16:29:51 2019 +0200
     1.3 @@ -15,6 +15,7 @@
     1.4  SPLIT="rshd-redone"
     1.5  
     1.6  compile_rules() {
     1.7 +	sed -i 's|\(-l.* \)\(-o.*\)$|\2 \1|' Makefile
     1.8  	make &&
     1.9  	make DESTDIR=$install install
    1.10  }
    1.11 @@ -40,7 +41,7 @@
    1.12  }
    1.13  
    1.14  # Pre and post install commands for Tazpkg.
    1.15 -post_install_rshd-redone()
    1.16 +post_install_rshd_redone()
    1.17  {
    1.18  	if ! grep -qs rlogind $1/etc/inetd.conf; then
    1.19  		cat >> $1/etc/inetd.conf <<EOT
    1.20 @@ -52,7 +53,7 @@
    1.21  }
    1.22  
    1.23  # Pre and post install commands for Tazpkg.
    1.24 -pre_remove_rshd-redone()
    1.25 +pre_remove_rshd_redone()
    1.26  {
    1.27  	sed -i '/rlogind/d;/rshd/d' $1/etc/inetd.conf
    1.28  	[ -n "$1" ] || killall -HUP inetd