Commit Graph

1909 Commits

Author SHA1 Message Date
Aoran Zeng b5b32bcee8 Get cmd result in `netbsd` 2023-09-27 11:35:30 +08:00
Aoran Zeng fd6b9c6b9e Refactor `xy_getcmd()` 2023-09-27 11:32:13 +08:00
Aoran Zeng a0f4321921 Fix grep expression in `netbsd` 2023-09-27 11:15:41 +08:00
Aoran Zeng f5ab88aa8f Use common functions 2023-09-27 09:40:31 +08:00
Aoran Zeng d072f52c07 Update to `v0.1.2` 2023-09-26 23:04:42 +08:00
Aoran Zeng 5cb16f9baf Use `chsrc_backup()` 2023-09-26 23:02:12 +08:00
Aoran Zeng dc101733d6 Remove all the cat 2023-09-26 22:49:28 +08:00
Aoran Zeng 418bc31ea7 Discard `-f` for `cp`
Gitee close #I81YTS
2023-09-26 22:40:15 +08:00
Aoran Zeng ffdd933526 Fix OpenKylin setsrc 2023-09-26 22:37:59 +08:00
Aoran Zeng 92c15285a6 Replace `cat` 2023-09-26 22:33:20 +08:00
Aoran Zeng f1ec6f8399 Use `chsrc_check_file()` 2023-09-26 22:24:48 +08:00
Aoran Zeng eb0bd01d4c Use overwrite or append 2023-09-26 22:14:41 +08:00
Aoran Zeng 54e33cab23 Rename back to `chsrc_` 2023-09-26 21:41:47 +08:00
Aoran Zeng 82956b7976 Use `chsrc_` prefix log 2023-09-26 21:09:16 +08:00
Aoran Zeng c60ffb8c80 Change macro name 2023-09-26 20:52:49 +08:00
Aoran Zeng 589bc7aad6 Use `xy_run()` 2023-09-26 20:23:43 +08:00
Aoran Zeng 57bf9f86a4 Add `xy_run()`, `xy_append_to_file()` and `xy_overwrite_file()` 2023-09-26 19:20:12 +08:00
Aoran Zeng 31a3004aed Update xy.h test 2023-09-26 19:16:38 +08:00
Aoran Zeng d33140d3ad Ignore test.txt 2023-09-26 19:15:33 +08:00
Aoran Zeng aa79f80a29 Use `chsrc_run` 2023-09-26 18:26:26 +08:00
Aoran Zeng a9e3a20bf2 Fix echo using append rather than rewrite 2023-09-26 18:24:18 +08:00
Aoran Zeng 5967c257ba Support more `nix` and basic `NixOS`
Gitee link #I83894
2023-09-26 18:11:38 +08:00
ccmywish a13c93f25c
!4 Fix bugs in ubuntu
Merge pull request !4 from hengG/dev-gh
2023-09-26 09:38:35 +00:00
Heng Guo 9d600b26c8 Modify sed to more simple,including ubuntu,deepin,fedora,debian,kali,gentoo 2023-09-26 16:40:12 +08:00
Heng Guo 29c54e0498 Fix bugs in ubuntu;Delete '-f' in 'cp -f' 2023-09-26 16:24:08 +08:00
Aoran Zeng d2bc0d2441 Update FreeBSD 2023-09-24 21:56:03 +08:00
Aoran Zeng e93020e9d2 Update netbsd and openbsd 2023-09-24 21:07:39 +08:00
Aoran Zeng 5e2f74562c Add support for `voidlinux`
Gitee close #I83XTF
2023-09-24 20:32:33 +08:00
Aoran Zeng 3d957ba46b Update README 2023-09-24 20:05:24 +08:00
Aoran Zeng 91711185b0 Add support for `alpine`
Gitee close #I80262
2023-09-24 20:01:46 +08:00
Aoran Zeng 9f3ef4060d Add support for `rocky`
Gitee close #I8025X
2023-09-24 19:17:43 +08:00
Aoran Zeng 25e5155675 Add Thanks Mirror author link 2023-09-24 16:35:00 +08:00
Aoran Zeng 96791b5978 Update README 2023-09-24 16:33:21 +08:00
Aoran Zeng 0b0bc7de65 Fix typo 2023-09-24 16:28:33 +08:00
Aoran Zeng 20fb805ada Remove macro semicolon 2023-09-22 15:57:30 +08:00
Aoran Zeng 6e0022430b Update README 2023-09-22 15:48:31 +08:00
Aoran Zeng c54b273faa Use macro for os 2023-09-22 15:45:12 +08:00
Aoran Zeng 804a35634f Add basic support for `nix`
Gitee link #I83894
2023-09-22 15:36:23 +08:00
Aoran Zeng e9579833a6 Use common functions 2023-09-22 13:31:05 +08:00
Aoran Zeng 094f1ed7d2 Ensure root
Gitee close #I81YOX
2023-09-22 13:07:49 +08:00
Aoran Zeng 2038b84d57 Update version string 2023-09-21 21:38:00 +08:00
Aoran Zeng 3cbad2b885 Update README 2023-09-21 21:37:24 +08:00
Aoran Zeng 5b5b13f461 Update tools 2023-09-21 21:35:01 +08:00
Aoran Zeng fe31fdb6d3 Separate build files 2023-09-21 21:28:33 +08:00
Aoran Zeng 3b7d6d3c4f Update linux build location 2023-09-21 21:15:02 +08:00
Aoran Zeng 2a7be335f1 Update linux build 2023-09-21 21:05:16 +08:00
Aoran Zeng 72ef94bac7 Fix missing ' for echo for `r` and `julia`
Gitee link #I83824
2023-09-21 14:56:44 +08:00
Aoran Zeng c1d4c7ce5f Move version string to .c 2023-09-21 14:34:16 +08:00
Aoran Zeng bc49c93b3a Add tools 2023-09-20 21:06:02 +08:00
Aoran Zeng 84b69e2330 Update Makefile 2023-09-20 20:41:13 +08:00