summaryrefslogtreecommitdiff
path: root/sysutils/etcupdate
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2003-02-04 08:40:56 +0000
committermartti <martti@pkgsrc.org>2003-02-04 08:40:56 +0000
commit5d8fb2a2562228bf316aa2c06bc87da863980026 (patch)
treeab672a3502f03b04a6020c2ab0e776a6f32fb9da /sysutils/etcupdate
parenta9caa2908b1b99a68523214a03ead6e6550645c6 (diff)
downloadpkgsrc-5d8fb2a2562228bf316aa2c06bc87da863980026.tar.gz
Updated etcupdate to 20030204 (bin/20196).
Diffstat (limited to 'sysutils/etcupdate')
-rw-r--r--sysutils/etcupdate/Makefile4
-rwxr-xr-xsysutils/etcupdate/files/etcupdate4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/etcupdate/Makefile b/sysutils/etcupdate/Makefile
index 73bd0665b64..009796037bf 100644
--- a/sysutils/etcupdate/Makefile
+++ b/sysutils/etcupdate/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2003/01/27 07:54:22 martti Exp $
+# $NetBSD: Makefile,v 1.19 2003/02/04 08:40:56 martti Exp $
-DISTNAME= etcupdate-20030124
+DISTNAME= etcupdate-20030204
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/sysutils/etcupdate/files/etcupdate b/sysutils/etcupdate/files/etcupdate
index e42313f3f30..182a55142c6 100755
--- a/sysutils/etcupdate/files/etcupdate
+++ b/sysutils/etcupdate/files/etcupdate
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: etcupdate,v 1.19 2003/01/27 07:54:23 martti Exp $
+# $NetBSD: etcupdate,v 1.20 2003/02/04 08:40:57 martti Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -164,7 +164,7 @@ diff_and_merge_file() {
fi
if [ "${AUTOMATIC}" = "YES" -a -f "/etc/etcupdate/${1}" ] ; then
- SUM1=`sum "${1}"`
+ SUM1=`md5 "${1}"`
SUM2=`cat "/etc/etcupdate/${1}"`
if [ "${SUM1}" = "${SUM2}" ] ; then
install_file "${1}"