2022-03-24 21:03:32 +00:00
|
|
|
--- a/conf.d/link_confs.py 2022-03-24 04:13:59.000982000 +0900
|
|
|
|
+++ b/conf.d/link_confs.py 2022-03-24 04:14:46.271964000 +0900
|
|
|
|
@@ -4,6 +4,7 @@
|
|
|
|
import sys
|
|
|
|
import argparse
|
|
|
|
import platform
|
|
|
|
+import shutil
|
2022-10-29 04:33:26 +00:00
|
|
|
from pathlib import PurePath
|
2022-03-24 21:03:32 +00:00
|
|
|
|
|
|
|
if __name__=='__main__':
|
|
|
|
@@ -32,7 +33,7 @@
|
|
|
|
except FileNotFoundError:
|
|
|
|
pass
|
|
|
|
try:
|
2024-09-03 22:38:18 +03:00
|
|
|
- os.symlink(os.path.relpath(src, start=args.confpath), dst)
|
2022-03-24 21:03:32 +00:00
|
|
|
+ shutil.copyfile(src, dst)
|
|
|
|
except NotImplementedError:
|
|
|
|
# Not supported on this version of Windows
|
|
|
|
break
|