From 827a26951bdc0295441b168233032f48788fe4d1 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sun, 10 Aug 2025 20:01:19 +0800 Subject: [PATCH] Use chef_allow_gsr for os --- src/recipe/os/APT/Armbian.c | 5 +---- src/recipe/os/APT/Debian.c | 5 +---- src/recipe/os/APT/Kali-Linux.c | 5 +---- src/recipe/os/APT/Linux-Lite.c | 5 +---- src/recipe/os/APT/Linux-Mint.c | 5 +---- src/recipe/os/APT/ROS.c | 5 +---- src/recipe/os/APT/Raspberry-Pi-OS.c | 5 +---- src/recipe/os/APT/Termux.c | 5 +---- src/recipe/os/APT/Trisquel.c | 5 +---- src/recipe/os/APT/Ubuntu.c | 5 +---- src/recipe/os/APT/deepin.c | 5 +---- src/recipe/os/APT/openKylin.c | 5 +---- src/recipe/os/Alpine-Linux.c | 5 +---- src/recipe/os/BSD/FreeBSD.c | 3 +-- src/recipe/os/BSD/NetBSD.c | 3 +-- src/recipe/os/BSD/OpenBSD.c | 4 +--- src/recipe/os/Gentoo-Linux.c | 5 +---- src/recipe/os/OpenWrt.c | 5 +---- src/recipe/os/Solus.c | 4 +--- src/recipe/os/Void-Linux.c | 5 +---- src/recipe/os/YUM/AlmaLinux.c | 3 +-- src/recipe/os/YUM/Anolis-OS.c | 3 +-- src/recipe/os/YUM/Fedora-Linux.c | 4 +--- src/recipe/os/YUM/Rocky-Linux.c | 4 +--- src/recipe/os/YUM/openEuler.c | 3 +-- src/recipe/os/openSUSE.c | 5 +---- src/recipe/os/pacman/Arch-Linux.c | 4 +--- src/recipe/os/pacman/MSYS2.c | 3 +-- src/recipe/os/pacman/Manjaro-Linux.c | 3 +-- 29 files changed, 29 insertions(+), 97 deletions(-) diff --git a/src/recipe/os/APT/Armbian.c b/src/recipe/os/APT/Armbian.c index 5d62e98..8ad9238 100644 --- a/src/recipe/os/APT/Armbian.c +++ b/src/recipe/os/APT/Armbian.c @@ -8,6 +8,7 @@ void os_armbian_prelude () { use_this(os_armbian); + chef_allow_gsr(os_armbian); chef_set_created_on (this, "2024-06-14"); chef_set_last_updated (this, "2025-08-10"); @@ -20,10 +21,6 @@ os_armbian_prelude () "Aoran Zeng", "ccmywish@qq.com", "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Debian.c b/src/recipe/os/APT/Debian.c index a71dfa1..c3de98f 100644 --- a/src/recipe/os/APT/Debian.c +++ b/src/recipe/os/APT/Debian.c @@ -8,6 +8,7 @@ void os_debian_prelude () { use_this(os_debian); + chef_allow_gsr(os_debian); chef_set_created_on (this, "2023-09-02"); chef_set_last_updated (this, "2025-08-10"); @@ -22,10 +23,6 @@ os_debian_prelude () "Yangmoooo", "yangmoooo@outlook.com", "GitHub Copilot", "https://github.com/copilot"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Kali-Linux.c b/src/recipe/os/APT/Kali-Linux.c index f31fea7..127edd6 100644 --- a/src/recipe/os/APT/Kali-Linux.c +++ b/src/recipe/os/APT/Kali-Linux.c @@ -8,6 +8,7 @@ void os_kali_prelude () { use_this(os_kali); + chef_allow_gsr(os_kali); chef_set_created_on (this, "2023-09-29"); chef_set_last_updated (this, "2025-08-10"); @@ -20,10 +21,6 @@ os_kali_prelude () "Yangmoooo", "yangmoooo@outlook.com", "Happy Game", "happygame1024@gmail.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Linux-Lite.c b/src/recipe/os/APT/Linux-Lite.c index a0b9fd8..9032bbf 100644 --- a/src/recipe/os/APT/Linux-Lite.c +++ b/src/recipe/os/APT/Linux-Lite.c @@ -8,6 +8,7 @@ void os_linuxlite_prelude () { use_this(os_linuxlite); + chef_allow_gsr(os_linuxlite); chef_set_created_on (this, "2023-09-29"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_linuxlite_prelude () chef_set_contributors (this, 1, "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Linux-Mint.c b/src/recipe/os/APT/Linux-Mint.c index 25877a0..fcb8859 100644 --- a/src/recipe/os/APT/Linux-Mint.c +++ b/src/recipe/os/APT/Linux-Mint.c @@ -8,6 +8,7 @@ void os_linuxmint_prelude () { use_this(os_linuxmint); + chef_allow_gsr(os_linuxmint); chef_set_created_on (this, "2023-09-29"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_linuxmint_prelude () chef_set_contributors (this, 1, "Happy Game", "happygame1024@gmail.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/ROS.c b/src/recipe/os/APT/ROS.c index 76c4093..e80737a 100644 --- a/src/recipe/os/APT/ROS.c +++ b/src/recipe/os/APT/ROS.c @@ -8,6 +8,7 @@ void os_ros_prelude () { use_this(os_ros); + chef_allow_gsr(os_ros); chef_set_created_on (this, "2023-09-03"); chef_set_last_updated (this, "2025-08-10"); @@ -20,10 +21,6 @@ os_ros_prelude () "Aoran Zeng", "ccmywish@qq.com", "zouri", "guoshuaisun@outlook.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Raspberry-Pi-OS.c b/src/recipe/os/APT/Raspberry-Pi-OS.c index f844cd1..95dfd57 100644 --- a/src/recipe/os/APT/Raspberry-Pi-OS.c +++ b/src/recipe/os/APT/Raspberry-Pi-OS.c @@ -10,6 +10,7 @@ void os_raspberrypi_prelude () { use_this(os_raspberrypi); + chef_allow_gsr(os_raspberrypi); chef_set_created_on (this, "2023-09-29"); chef_set_last_updated (this, "2025-08-10"); @@ -21,10 +22,6 @@ os_raspberrypi_prelude () chef_set_contributors (this, 1, "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Termux.c b/src/recipe/os/APT/Termux.c index 6aaeb43..066f967 100644 --- a/src/recipe/os/APT/Termux.c +++ b/src/recipe/os/APT/Termux.c @@ -8,6 +8,7 @@ void os_termux_prelude () { use_this(os_termux); + chef_allow_gsr(os_termux); chef_set_created_on (this, "2025-03-04"); chef_set_last_updated (this, "2025-08-10"); @@ -18,10 +19,6 @@ os_termux_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Trisquel.c b/src/recipe/os/APT/Trisquel.c index a8bf643..5b98efd 100644 --- a/src/recipe/os/APT/Trisquel.c +++ b/src/recipe/os/APT/Trisquel.c @@ -10,6 +10,7 @@ void os_trisquel_prelude () { use_this(os_trisquel); + chef_allow_gsr(os_trisquel); chef_set_created_on (this, "2023-09-29"); chef_set_last_updated (this, "2025-08-10"); @@ -20,10 +21,6 @@ os_trisquel_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/Ubuntu.c b/src/recipe/os/APT/Ubuntu.c index e304a38..ecba803 100644 --- a/src/recipe/os/APT/Ubuntu.c +++ b/src/recipe/os/APT/Ubuntu.c @@ -8,6 +8,7 @@ void os_ubuntu_prelude () { use_this(os_ubuntu); + chef_allow_gsr(os_ubuntu); chef_set_created_on (this, "2023-08-30"); chef_set_last_updated (this, "2025-08-10"); @@ -21,10 +22,6 @@ os_ubuntu_prelude () chef_set_contributors (this, 1, "Zhao", "1792582687@qq.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/deepin.c b/src/recipe/os/APT/deepin.c index de4cb38..46add3b 100644 --- a/src/recipe/os/APT/deepin.c +++ b/src/recipe/os/APT/deepin.c @@ -8,6 +8,7 @@ void os_deepin_prelude () { use_this(os_deepin); + chef_allow_gsr(os_deepin); chef_set_created_on (this, "2023-09-26"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_deepin_prelude () chef_set_contributors (this, 1, "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/APT/openKylin.c b/src/recipe/os/APT/openKylin.c index a2d5ba2..a2b58c9 100644 --- a/src/recipe/os/APT/openKylin.c +++ b/src/recipe/os/APT/openKylin.c @@ -11,6 +11,7 @@ void os_openkylin_prelude () { use_this(os_openkylin); + chef_allow_gsr(os_openkylin); chef_set_created_on (this, "2023-09-06"); chef_set_last_updated (this, "2025-08-10"); @@ -22,10 +23,6 @@ os_openkylin_prelude () chef_set_contributors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/Alpine-Linux.c b/src/recipe/os/Alpine-Linux.c index 93a0886..ab8db97 100644 --- a/src/recipe/os/Alpine-Linux.c +++ b/src/recipe/os/Alpine-Linux.c @@ -8,6 +8,7 @@ void os_alpine_prelude () { use_this(os_alpine); + chef_allow_gs(os_alpine); chef_set_created_on (this, "2023-09-24"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_alpine_prelude () chef_set_contributors (this, 1, "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_get(); - chef_allow_set(); - // chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/BSD/FreeBSD.c b/src/recipe/os/BSD/FreeBSD.c index 08deba2..f3547fe 100644 --- a/src/recipe/os/BSD/FreeBSD.c +++ b/src/recipe/os/BSD/FreeBSD.c @@ -8,6 +8,7 @@ void os_freebsd_prelude () { use_this(os_freebsd); + chef_allow_s(os_freebsd); chef_set_created_on (this, "2023-09-03"); chef_set_last_updated (this, "2025-08-10"); @@ -18,8 +19,6 @@ os_freebsd_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/BSD/NetBSD.c b/src/recipe/os/BSD/NetBSD.c index 313b55f..22e9248 100644 --- a/src/recipe/os/BSD/NetBSD.c +++ b/src/recipe/os/BSD/NetBSD.c @@ -8,6 +8,7 @@ void os_netbsd_prelude () { use_this(os_netbsd); + chef_allow_gs(os_netbsd); chef_set_created_on (this, "2023-09-05"); chef_set_last_updated (this, "2025-08-10"); @@ -18,8 +19,6 @@ os_netbsd_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_get(); - chef_allow_set(); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/BSD/OpenBSD.c b/src/recipe/os/BSD/OpenBSD.c index 250107f..af81f3d 100644 --- a/src/recipe/os/BSD/OpenBSD.c +++ b/src/recipe/os/BSD/OpenBSD.c @@ -8,6 +8,7 @@ void os_openbsd_prelude () { use_this(os_openbsd); + chef_allow_gs(os_openbsd); chef_set_created_on (this, "2023-09-03"); chef_set_last_updated (this, "2025-08-10"); @@ -18,9 +19,6 @@ os_openbsd_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_get(); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/Gentoo-Linux.c b/src/recipe/os/Gentoo-Linux.c index 3947486..b1d4a92 100644 --- a/src/recipe/os/Gentoo-Linux.c +++ b/src/recipe/os/Gentoo-Linux.c @@ -8,6 +8,7 @@ void os_gentoo_prelude () { use_this(os_gentoo); + chef_allow_s(os_gentoo); chef_set_created_on (this, "2023-09-05"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_gentoo_prelude () chef_set_contributors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - // chef_allow_get(); - chef_allow_set(); - // chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/OpenWrt.c b/src/recipe/os/OpenWrt.c index c7bb9c3..89914a3 100644 --- a/src/recipe/os/OpenWrt.c +++ b/src/recipe/os/OpenWrt.c @@ -8,6 +8,7 @@ void os_openwrt_prelude () { use_this(os_openwrt); + chef_allow_gsr(os_openwrt); chef_set_created_on (this, "2024-08-08"); chef_set_last_updated (this, "2025-08-10"); @@ -20,10 +21,6 @@ os_openwrt_prelude () "Yangmoooo", "yangmoooo@outlook.com", "happy game", "happygame1024@gmail.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); chef_allow_user_define(this); diff --git a/src/recipe/os/Solus.c b/src/recipe/os/Solus.c index 550ab1c..073c6b5 100644 --- a/src/recipe/os/Solus.c +++ b/src/recipe/os/Solus.c @@ -8,6 +8,7 @@ void os_solus_prelude () { use_this(os_solus); + chef_allow_s(os_solus); chef_set_created_on (this, "2023-09-29"); chef_set_last_updated (this, "2025-08-10"); @@ -18,9 +19,6 @@ os_solus_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - // chef_allow_get(); - chef_allow_set(); - // chef_allow_reset(); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/Void-Linux.c b/src/recipe/os/Void-Linux.c index 3d3bfde..87dff3d 100644 --- a/src/recipe/os/Void-Linux.c +++ b/src/recipe/os/Void-Linux.c @@ -8,6 +8,7 @@ void os_voidlinux_prelude () { use_this(os_voidlinux); + chef_allow_gsr(os_voidlinux); chef_set_created_on (this, "2023-09-24"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_voidlinux_prelude () chef_set_contributors (this, 1, "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/YUM/AlmaLinux.c b/src/recipe/os/YUM/AlmaLinux.c index ad3f576..7e1e486 100644 --- a/src/recipe/os/YUM/AlmaLinux.c +++ b/src/recipe/os/YUM/AlmaLinux.c @@ -8,6 +8,7 @@ void os_almalinux_prelude () { use_this(os_almalinux); + chef_allow_s(os_almalinux); chef_set_created_on (this, "2024-06-12"); chef_set_last_updated (this, "2025-08-10"); @@ -19,8 +20,6 @@ os_almalinux_prelude () chef_set_contributors (this, 1, "Yangmoooo", "yangmoooo@outlook.com"); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/YUM/Anolis-OS.c b/src/recipe/os/YUM/Anolis-OS.c index 605d9ab..8808fbc 100644 --- a/src/recipe/os/YUM/Anolis-OS.c +++ b/src/recipe/os/YUM/Anolis-OS.c @@ -8,6 +8,7 @@ void os_anolis_prelude () { use_this(os_anolis); + chef_allow_s(os_anolis); chef_set_created_on (this, "2023-09-24"); chef_set_last_updated (this, "2025-08-10"); @@ -18,8 +19,6 @@ os_anolis_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/YUM/Fedora-Linux.c b/src/recipe/os/YUM/Fedora-Linux.c index c6641d0..f55859c 100644 --- a/src/recipe/os/YUM/Fedora-Linux.c +++ b/src/recipe/os/YUM/Fedora-Linux.c @@ -8,6 +8,7 @@ void os_fedora_prelude () { use_this(os_fedora); + chef_allow_sr(os_fedora); chef_set_created_on (this, "2023-09-26"); chef_set_last_updated (this, "2025-08-10"); @@ -21,9 +22,6 @@ os_fedora_prelude () chef_set_contributors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/YUM/Rocky-Linux.c b/src/recipe/os/YUM/Rocky-Linux.c index 05b77d2..c1d7fcb 100644 --- a/src/recipe/os/YUM/Rocky-Linux.c +++ b/src/recipe/os/YUM/Rocky-Linux.c @@ -8,6 +8,7 @@ void os_rockylinux_prelude () { use_this(os_rockylinux); + chef_allow_sr(os_rockylinux); chef_set_created_on (this, "2023-09-24"); chef_set_last_updated (this, "2025-08-10"); @@ -19,9 +20,6 @@ os_rockylinux_prelude () chef_set_contributors (this, 1, "happy game", "happygame1024@gmail.com"); - chef_allow_set(); - chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/YUM/openEuler.c b/src/recipe/os/YUM/openEuler.c index 6beae0a..cc21bb9 100644 --- a/src/recipe/os/YUM/openEuler.c +++ b/src/recipe/os/YUM/openEuler.c @@ -8,6 +8,7 @@ void os_openeuler_prelude () { use_this(os_openeuler); + chef_allow_gs(os_openeuler); chef_set_created_on (this, "2023-09-06"); chef_set_last_updated (this, "2025-08-10"); @@ -21,8 +22,6 @@ os_openeuler_prelude () "Yangmoooo", "yangmoooo@outlook.com", "happy game", "happygame1024@gmail.com"); - chef_allow_get(); - chef_allow_set(); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/openSUSE.c b/src/recipe/os/openSUSE.c index 6436f92..0167c44 100644 --- a/src/recipe/os/openSUSE.c +++ b/src/recipe/os/openSUSE.c @@ -8,6 +8,7 @@ void os_opensuse_prelude () { use_this(os_opensuse); + chef_allow_s(os_opensuse); chef_set_created_on (this, "2023-09-17"); chef_set_last_updated (this, "2025-08-10"); @@ -19,10 +20,6 @@ os_opensuse_prelude () chef_set_contributors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - // chef_allow_get(); - chef_allow_set(); - // chef_allow_reset(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/pacman/Arch-Linux.c b/src/recipe/os/pacman/Arch-Linux.c index 26b7c78..945b16a 100644 --- a/src/recipe/os/pacman/Arch-Linux.c +++ b/src/recipe/os/pacman/Arch-Linux.c @@ -11,6 +11,7 @@ void os_arch_prelude () { use_this(os_arch); + chef_allow_gs(os_arch); chef_set_created_on (this, "2023-09-05"); chef_set_last_updated (this, "2025-08-10"); @@ -23,9 +24,6 @@ os_arch_prelude () chef_set_contributors (this, 1, "happy game", "happygame1024@gmail.com"); - chef_allow_get(); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/pacman/MSYS2.c b/src/recipe/os/pacman/MSYS2.c index dbab9ee..4f05884 100644 --- a/src/recipe/os/pacman/MSYS2.c +++ b/src/recipe/os/pacman/MSYS2.c @@ -8,6 +8,7 @@ void os_msys2_prelude () { use_this(os_msys2); + chef_allow_s(os_msys2); chef_set_created_on (this, "2023-09-06"); chef_set_last_updated (this, "2025-08-10"); @@ -19,8 +20,6 @@ os_msys2_prelude () chef_set_contributors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this); diff --git a/src/recipe/os/pacman/Manjaro-Linux.c b/src/recipe/os/pacman/Manjaro-Linux.c index 629b1cb..9e9a092 100644 --- a/src/recipe/os/pacman/Manjaro-Linux.c +++ b/src/recipe/os/pacman/Manjaro-Linux.c @@ -8,6 +8,7 @@ void os_manjaro_prelude () { use_this(os_manjaro); + chef_allow_s(os_manjaro); chef_set_created_on (this, "2023-09-06"); chef_set_last_updated (this, "2025-08-10"); @@ -17,8 +18,6 @@ os_manjaro_prelude () chef_set_sous_chefs (this, 0); chef_set_contributors (this, 0); - chef_allow_set(); - chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); chef_forbid_user_define(this);