summaryrefslogtreecommitdiff
path: root/usr.sbin/syspatch
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2016-11-03 15:34:32 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2016-11-03 15:34:32 +0000
commit10331ff029bdf4f7b22a19df17f062f1fae7ade9 (patch)
tree1a8efeae9147b4a40aa10e6d0cdeb256cb51810d /usr.sbin/syspatch
parent89ca6ec47cab133712afd3b919de888c8c4f4ffe (diff)
Hardlinks are properly handled; for the rest, we'll see if we need to care
or not (XXX).
Diffstat (limited to 'usr.sbin/syspatch')
-rw-r--r--usr.sbin/syspatch/syspatch.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh
index e65d289fa7c..0734cb4a572 100644
--- a/usr.sbin/syspatch/syspatch.sh
+++ b/usr.sbin/syspatch/syspatch.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: syspatch.sh,v 1.30 2016/11/03 14:36:54 ajacoutot Exp $
+# $OpenBSD: syspatch.sh,v 1.31 2016/11/03 15:34:31 ajacoutot Exp $
#
# Copyright (c) 2016 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@ -123,8 +123,7 @@ fetch_and_verify()
install_file()
{
- # XXX handle sym/hardlinks?
- # XXX handle dir becoming file and vice-versa?
+ # XXX handle symlinks, dir->file, file->dir?
local _src=$1 _dst=$2
[[ -f ${_src} && -f ${_dst} ]]