import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunk
[metze/old/v3-2-winbind-ndr.git] / packaging / Solaris / r.swat
1 while read dest
2 do
3         sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2
4         # Use cp;rm; instead of mv because $dest might be a symlink
5         cp -f /tmp/$$swat $dest || exit 2
6         rm -f /tmp/$$swat
7 done
8
9 if [ "$1" = ENDOFCLASS ]
10 then
11         if [ -z "$PKG_INSTALL_ROOT" ]
12         then
13                 kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'`
14         fi
15 fi
16