projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added '--keep' option
[util-vserver.git]
/
util-vserver
/
scripts
/
pkgmgmt
diff --git
a/util-vserver/scripts/pkgmgmt
b/util-vserver/scripts/pkgmgmt
index
3cf380f
..
7f44aae
100755
(executable)
--- a/
util-vserver/scripts/pkgmgmt
+++ b/
util-vserver/scripts/pkgmgmt
@@
-101,7
+101,7
@@
function _hashAuto()
$_SED -e "s|^\([^$hash].*@autogenerated@\)|$hash$hash\1|" >$tmp
$_CAT $tmp | $_EXEC_CD "$dir" "$(which cmp)" -s - "$file" || \
- $_CHROOT_CAT -o "$1" <$tmp
+ $_CHROOT_SH truncate "$1" <$tmp
$_RM -f $tmp
}