summaryrefslogtreecommitdiff
path: root/cmdline/apt-mark
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/apt-mark')
-rwxr-xr-xcmdline/apt-mark2
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)