Dolda2000 GitWeb
/
tpkg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d414a6a
)
Fixed utime bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 13 Jan 2019 01:54:05 +0000
(
02:54
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 13 Jan 2019 01:54:05 +0000
(
02:54
+0100)
tpkg
patch
|
blob
|
blame
|
history
diff --git
a/tpkg
b/tpkg
index
aba1fd0
..
95623f0
100755
(executable)
--- a/
tpkg
+++ b/
tpkg
@@
-261,7
+261,7
@@
def install(pfx, pkg, pkgname):
dig = copy(ofp, ifp)
pfx.regfile(fl.path, pkgname, dig)
os.rename(tmpp, tp)
dig = copy(ofp, ifp)
pfx.regfile(fl.path, pkgname, dig)
os.rename(tmpp, tp)
- os.utime(tp, ns=(time.time()
, sb.st_mtime
))
+ os.utime(tp, ns=(time.time()
* 1e9, sb.st_mtime * 1e9
))
def uninstall(pfx, pkg):
for fn in pfx.pkgfiles(pkg):
def uninstall(pfx, pkg):
for fn in pfx.pkgfiles(pkg):