Changes between Initial Version and Version 1 of notes/linux
- Timestamp:
- 2015-06-05T13:06:10Z (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
notes/linux
v1 v1 1 = заметки о linux 2 == в reposync не работает --delete репки внутри симлинка 3 сделано, очевидно, для избежания зацикливания. 4 {{{#!patch 5 --- /usr/bin/reposync.orig 2015-06-05 12:54:23.994992794 +0000 6 +++ /usr/bin/reposync 2015-06-05 12:59:26.254992567 +0000 7 @@ -73,7 +73,7 @@ 8 for name in names: 9 fn = os.path.join(directory, name) 10 try: 11 - st = os.lstat(fn) 12 + st = os.stat(fn) 13 except os.error: 14 continue 15 if stat.S_ISDIR(st.st_mode): 16 }}}