fix newlines
This commit is contained in:
parent
15e4280fb8
commit
6c9bdbb372
1 changed files with 4 additions and 4 deletions
|
@ -207,11 +207,11 @@ def main(root, mountpoint):
|
|||
else:
|
||||
print(line, end='')
|
||||
if not foundarchive:
|
||||
with open(os.environ['HOME']+'/.config/user-dirs.dirs\n', 'a') as fh:
|
||||
fh.write("XDG_ARCHIVE_DIR=\""+root+'"')
|
||||
with open(os.environ['HOME']+'/.config/user-dirs.dirs', 'a') as fh:
|
||||
fh.write("XDG_ARCHIVE_DIR=\""+root+'"\n')
|
||||
if not foundwork:
|
||||
with open(os.environ['HOME']+'/.config/user-dirs.dirs\n', 'a') as fh:
|
||||
fh.write("XDG_WORK_DIR=\""+mountpoint+'"')
|
||||
with open(os.environ['HOME']+'/.config/user-dirs.dirs', 'a') as fh:
|
||||
fh.write("XDG_WORK_DIR=\""+mountpoint+'"\n')
|
||||
|
||||
FUSE(Passthrough(root), mountpoint, nothreads=True, foreground=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue