2022-03-25 05:03:32 +08: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 12:33:26 +08:00
|
|
|
from pathlib import PurePath
|
2022-03-25 05:03:32 +08:00
|
|
|
|
|
|
|
if __name__=='__main__':
|
|
|
|
@@ -32,7 +33,7 @@
|
|
|
|
except FileNotFoundError:
|
|
|
|
pass
|
|
|
|
try:
|
2024-09-04 03:38:18 +08:00
|
|
|
- os.symlink(os.path.relpath(src, start=args.confpath), dst)
|
2022-03-25 05:03:32 +08:00
|
|
|
+ shutil.copyfile(src, dst)
|
|
|
|
except NotImplementedError:
|
|
|
|
# Not supported on this version of Windows
|
|
|
|
break
|