Willie
7b3d84e7b8
fix(install): keep scripts executable on content API downloads
...
The GitHub, Gitea and CNB content API fallbacks wrote every file as
0644, so a skill's scripts lost their exec bit whenever sparse checkout
was not available. The APIs do not report the git mode, so a file that
starts with #! is now written as 0755; anything the kernel could run
directly carries one. The mode is set on both branches, because
O_TRUNC keeps the mode of a file that already existed.
Refs #439
2026-10-06 22:34:27 +08:00
..
2026-09-17 10:24:18 +08:00
2026-09-17 10:24:18 +08:00
2026-06-23 18:45:43 +08:00
2026-06-23 18:45:43 +08:00
2026-09-02 13:08:40 +08:00
2026-09-02 13:08:40 +08:00
2026-06-02 16:29:25 +08:00
2026-05-31 22:28:33 +08:00
2026-06-23 18:45:43 +08:00
2026-10-06 10:46:37 +08:00
2026-06-15 22:21:46 +08:00
2026-05-30 19:23:12 +08:00
2026-09-21 13:31:38 +08:00
2026-02-25 07:02:54 +08:00
2026-03-13 09:45:56 +08:00
2026-09-19 19:19:41 +00:00
2026-10-06 22:34:27 +08:00
2026-10-06 22:34:27 +08:00
2026-10-06 22:34:27 +08:00
2026-05-31 22:28:33 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-06-16 10:04:57 +08:00
2026-03-18 00:19:30 +08:00
2026-05-26 11:05:32 +08:00
2026-10-05 14:53:52 +08:00
2026-10-05 15:43:17 +08:00
2026-09-28 22:12:09 +08:00
2026-10-05 14:42:09 +08:00
2026-09-28 22:08:16 +08:00
2026-02-25 07:02:54 +08:00
2026-10-05 21:53:12 +08:00
2026-09-21 04:31:14 +08:00
2026-10-05 21:53:12 +08:00
2026-10-05 21:53:12 +08:00
2026-09-21 02:26:55 +08:00
2026-09-30 16:35:30 +08:00
2026-02-25 07:02:54 +08:00
2026-10-06 10:46:37 +08:00
2026-10-05 15:43:17 +08:00
2026-10-06 10:58:15 +08:00
2026-10-02 20:56:55 +08:00
2026-10-05 15:43:17 +08:00
2026-10-05 21:22:47 +08:00
2026-10-02 20:56:55 +08:00
2026-09-21 04:31:22 +08:00
2026-09-21 04:31:22 +08:00
2026-04-01 00:32:49 +08:00
2026-10-05 14:53:52 +08:00
2026-03-02 02:23:50 +08:00
2026-09-05 11:42:39 +08:00
2026-10-05 14:45:41 +08:00
2026-09-25 02:22:35 +08:00
2026-09-25 02:22:35 +08:00
2026-04-08 10:39:43 +08:00
2026-04-08 16:35:19 +08:00
2026-10-06 10:46:37 +08:00
2026-10-06 10:46:37 +08:00
2026-02-23 04:18:01 +08:00
2026-10-06 10:46:37 +08:00
2026-06-15 11:12:44 +08:00
2026-02-23 04:18:01 +08:00
2026-10-03 12:53:34 +08:00
2026-10-05 14:42:09 +08:00
2026-10-05 22:28:43 +08:00
2026-10-06 10:46:37 +08:00
2026-10-03 12:53:34 +08:00
2026-04-01 00:32:49 +08:00
2026-09-21 04:31:22 +08:00
2026-09-26 21:02:28 +08:00
2026-09-26 21:02:28 +08:00
2026-02-25 07:02:54 +08:00
2026-10-06 10:46:37 +08:00
2026-10-06 10:46:37 +08:00
2026-09-28 23:39:19 +08:00