HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7898bd9
)
cmdline/apt-mark: fix chmod()/rename() ordering
author
Michael Vogt
<egon@tas>
Wed, 14 Mar 2007 16:11:31 +0000
(17:11 +0100)
committer
Michael Vogt
<egon@tas>
Wed, 14 Mar 2007 16:11:31 +0000
(17:11 +0100)
cmdline/apt-mark
patch
|
blob
|
blame
|
history
diff --git
a/cmdline/apt-mark
b/cmdline/apt-mark
index
533ed87
..
dadc013
100755
(executable)
--- a/
cmdline/apt-mark
+++ b/
cmdline/apt-mark
@@
-60,4
+60,5
@@
if __name__ == "__main__":
else:
outfile.write(str(tagfile.Section)+"\n")
# all done, rename the tmpfile
+ os.chmod(outfile.name, 0644)
os.rename(outfile.name, STATE_FILE)