@ -1,6 +1,6 @@
#!/bin/sh -
#!/bin/sh -
#
#
# $OpenBSD: security,v 1.81 2008/07/23 16:05:47 sthen Exp $
# $OpenBSD: security,v 1.82 2009/03/23 15:14:50 ajacoutot Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
#
@ -753,7 +753,7 @@ if pkg_info > $file 2>&1 ; then
if [ -s $CUR ] ; then
if [ -s $CUR ] ; then
diff -u $CUR $file > $OUTPUT
diff -u $CUR $file > $OUTPUT
if [ -s $OUTPUT ] ; then
if [ -s $OUTPUT ] ; then
echo "\n======\nInstalled package changes (-OLD +NEW)\n======"
echo "\n======\nPackage list changes (-OLD +NEW)\n======"
cat $OUTPUT
cat $OUTPUT
cp -p $CUR $BACK
cp -p $CUR $BACK
cp -p $file $CUR
cp -p $file $CUR