Skip to content

Commit 46e2cb8

Browse files
committed
Add missing \n for Arch
[GitHub #317]
1 parent c22fae6 commit 46e2cb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/recipe/os/pacman/Arch-Linux.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ os_arch_prelude ()
1313
chef_prep_this (os_arch, gs);
1414

1515
chef_set_created_on (this, "2023-09-05");
16-
chef_set_last_updated (this, "2025-08-10");
16+
chef_set_last_updated (this, "2025-10-30");
1717
chef_set_sources_last_updated (this, "2025-06-20");
1818

1919
chef_set_chef (this, "@happy-game");
@@ -78,12 +78,12 @@ os_arch_setsrc (char *option)
7878
if (strncmp(arch, "x86_64", 6)==0)
7979
{
8080
is_x86 = true;
81-
to_write = xy_strcat (3, "Server = ", source.url, "/$repo/os/$arch");
81+
to_write = xy_strcat (3, "Server = ", source.url, "/$repo/os/$arch\n");
8282
}
8383
else
8484
{
8585
is_x86 = false;
86-
to_write = xy_strcat (3, "Server = ", source.url, "arm/$arch/$repo");
86+
to_write = xy_strcat (3, "Server = ", source.url, "arm/$arch/$repo\n");
8787
}
8888

8989
/* 配置文件中,越前面的优先级越高 */

0 commit comments

Comments
 (0)