Commit Graph

86 Commits

Author SHA1 Message Date
Aoran Zeng f82bfe0cbb Interpret home also on Linux 2024-07-09 15:03:11 +08:00
Aoran Zeng b7fbde047a Add OS private macro 2024-07-09 14:46:50 +08:00
Aoran Zeng 4732ed8f5d No echo when writing to file 2024-07-09 14:35:45 +08:00
Aoran Zeng c9fb2c6dff Ensure dir test first 2024-07-09 14:31:34 +08:00
Aoran Zeng 3d1b1473f8 Update note 2024-07-09 14:29:11 +08:00
Aoran Zeng 6527045125 Move dir_exist to `xy.h` 2024-07-09 14:06:27 +08:00
Aoran Zeng 456be10174 Rename to `view_file` 2024-07-09 13:04:37 +08:00
Aoran Zeng fbe6dcd088 Explicit prompt for ensure mkdir 2024-07-09 13:02:06 +08:00
Aoran Zeng 88663c1ff5 Ensure dir silently 2024-07-09 12:47:55 +08:00
Aoran Zeng e2ed66254b Simple backup when macOS
[GitHub link #44]
2024-07-09 10:06:00 +08:00
Aoran Zeng 574df6a5d1 Not show status when back up 2024-07-08 18:31:18 +08:00
鹏起鲸落 c319fa82fc
Fix: `chsrc_get_cpuarch()` and `chsrc_prepend_to_file()`
[GitHub PR #42]

* Fix
- `chsrc_get_cpuarch()`: Use `uname -m` instead of `-p`
- `chsrc_prepend_to_file()`: Add missing space

* Add new contributor
2024-07-06 23:21:59 +08:00
Aoran Zeng e665860576 Reimplement `archlinux`
[GitHub link #32 #41]
2024-07-03 14:04:21 +08:00
Aoran Zeng 069f5fb827 Add prepend 2024-07-03 13:59:06 +08:00
Aoran Zeng f496d2448d Split `archlinuxcn` sources
[GitHub link #32 #41]
2024-07-03 12:14:40 +08:00
Aoran Zeng 961111acea Make fatal on error mode default 2024-06-24 21:38:16 +08:00
Aoran Zeng b2597b4e99 Fix: Verify option when chsrc_run fails 2024-06-24 21:07:24 +08:00
Aoran Zeng fcb74cb2ef Get CPU arch 2024-06-21 10:55:43 +08:00
Aoran Zeng 6639a87763 Add more assertions 2024-06-21 10:50:28 +08:00
Aoran Zeng 91c94ad012 Update file headers 2024-06-21 01:47:28 +08:00
livelycode36 5ef6210cac
Support OS `armbian`
[GitHub link #37 #38]
2024-06-21 01:24:46 +08:00
Aoran Zeng b21fff76a3 No newline when backup 2024-06-14 15:55:41 +08:00
Aoran Zeng 7468c7d0d4 Add parameters for running command 2024-06-14 15:51:54 +08:00
Aoran Zeng 20abe49100 Rename to `chsrc_check_file` 2024-06-14 15:15:59 +08:00
Aoran Zeng eb3d01c72d Rename to `chsrc_confirm_source` 2024-06-14 15:07:04 +08:00
Aoran Zeng dd324a70ba Verify exit status 2024-06-14 15:01:52 +08:00
Aoran Zeng 5440fb1c03 Add speed test link for huecker 2024-06-14 02:12:10 +08:00
Aoran Zeng d177320fe1 Add speed test link for DaoCloud 2024-06-14 02:08:38 +08:00
Aoran Zeng a247e6ebb9 Consider `NULL` for `str_start_with` 2024-06-14 01:54:58 +08:00
Aoran Zeng 7cbaa389a8 Add source `daocloud` and `huecker` for `dockerhub`
[GitHub link #35]
2024-06-14 01:31:20 +08:00
Aoran Zeng 1e1d8a44bb Ensure external program 2024-06-14 01:02:23 +08:00
Aoran Zeng 3e4ce0df59 `FreeBSD` is not user definable temporarily 2024-06-14 00:29:40 +08:00
Aoran Zeng 18a4142773 Make `pl` and `os` user definable
[GitHub link #33 #29]
2024-06-14 00:20:02 +08:00
Aoran Zeng 92b3446531 Yield source 2024-06-13 23:43:31 +08:00
Aoran Zeng 419168fcf7 Add UserDefine mirror and test Ruby
[GitHub link #33 #29]
2024-06-13 23:27:59 +08:00
Aoran Zeng 6006b42d60 Note when backup 2024-06-13 00:46:01 +08:00
Aoran Zeng 0470137688 Fix typo in `query_file_exist` 2024-06-13 00:41:06 +08:00
Aoran Zeng b86e89ae22 Output checking info when `query_file_exist` 2024-06-13 00:39:31 +08:00
Aoran Zeng 77830a96ed Take a look at file 2024-06-13 00:21:00 +08:00
Aoran Zeng 4896a4c4c3 Move curl testing into `auto_select_` 2024-06-13 00:17:26 +08:00
Aoran Zeng d9d8662aa8 Add sources for `Anolis`
[Gitee link #I83XTG]
2024-06-12 21:57:47 +08:00
Aoran Zeng d071a382c7 Add `almalinux` sources
[Gitee link #IA4ZRY]
2024-06-12 21:46:16 +08:00
Aoran Zeng 39c7ab882a Add supported mirrors by `Volcengine`
[Gitee link #I9W0PW]
2024-06-12 21:20:18 +08:00
Aoran Zeng e4baf6a579 Add MirrorSite `Volcengine`
[Gitee link #I9W0PW]
2024-06-12 20:57:11 +08:00
Aoran Zeng a910733b42 Update file headers 2024-06-11 20:18:02 +08:00
Aoran Zeng 3ac16992af Split function of check remarkably 2024-06-11 18:03:02 +08:00
Aoran Zeng a2dcaf03ed Use new `xy_run` and add a placeholder URL 2024-06-11 17:05:15 +08:00
Aoran Zeng cb87e7d09c Conceal internal marco 2024-06-11 17:00:22 +08:00
Aoran Zeng 452fc72762 Rename to use `xy_run` 2024-06-11 16:54:28 +08:00
Aoran Zeng dbb5da8881 Use remarkable info when back up 2024-06-08 15:59:59 +08:00