1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/packaging/Solaris/r.swat
Shirish Kalele 362e4bb21a Adding Solaris packaging files to HEAD.
(This used to be commit 3ac5f6b59e)
2001-04-11 02:28:38 +00:00

17 lines
334 B
Plaintext

while read dest
do
sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2
# Use cp;rm; instead of mv because $dest might be a symlink
cp -f /tmp/$$swat $dest || exit 2
rm -f /tmp/$$swat
done
if [ "$1" = ENDOFCLASS ]
then
if [ -z "$PKG_INSTALL_ROOT" ]
then
kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'`
fi
fi