diff options
author | Michael Vogt <egon@tas> | 2007-03-14 17:11:25 +0100 |
---|---|---|
committer | Michael Vogt <egon@tas> | 2007-03-14 17:11:25 +0100 |
commit | 31dc104687b79d3d9dea7d8c0e1a2bde80598ff0 (patch) | |
tree | 3c07681e589c0dd0d4b2a7c20c84750009d4571c /cmdline | |
parent | 5f3e0a63677aea3c3619b747eaabb42b32d825c2 (diff) |
* cmdline/apt-mark: fix chmod()/rename() ordering
Diffstat (limited to 'cmdline')
-rwxr-xr-x | cmdline/apt-mark | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-mark b/cmdline/apt-mark index 728f083dc..dadc01366 100755 --- a/cmdline/apt-mark +++ b/cmdline/apt-mark @@ -60,5 +60,5 @@ if __name__ == "__main__": else: outfile.write(str(tagfile.Section)+"\n") # all done, rename the tmpfile - os.rename(outfile.name, STATE_FILE) os.chmod(outfile.name, 0644) + os.rename(outfile.name, STATE_FILE) |