Add feat for Debian and Ubuntu

This commit is contained in:
Aoran Zeng 2024-10-31 07:20:24 +08:00
parent 13e3c8ada1
commit 3514664ae0
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 41 additions and 4 deletions

View File

@ -5,7 +5,7 @@
* | Heng Guo <2085471348@qq.com> * | Heng Guo <2085471348@qq.com>
* Contributors : Nil Null <nil@null.org> * Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-02> * Created On : <2023-09-02>
* Last Modified : <2024-08-16> * Last Modified : <2024-10-31>
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
/** /**
@ -106,4 +106,23 @@ os_debian_setsrc (char *option)
chsrc_conclude (&source, SetsrcType_Auto); chsrc_conclude (&source, SetsrcType_Auto);
} }
def_target(os_debian);
FeatInfo
os_debian_feat (char *option)
{
FeatInfo f = {0};
f.can_get = true;
f.can_reset = false;
f.cap_locally = CanNot;
f.locally = NULL;
f.can_english = false;
f.can_user_define = true;
f.note = NULL;
return f;
}
def_target_gsf(os_debian);

View File

@ -5,7 +5,7 @@
* | Heng Guo <2085471348@qq.com> * | Heng Guo <2085471348@qq.com>
* Contributors : Nil Null <nil@null.org> * Contributors : Nil Null <nil@null.org>
* Created On : <2023-08-30> * Created On : <2023-08-30>
* Last Modified : <2024-08-16> * Last Modified : <2024-10-31>
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
/** /**
@ -115,4 +115,22 @@ os_ubuntu_setsrc (char *option)
chsrc_conclude (&source, SetsrcType_Auto); chsrc_conclude (&source, SetsrcType_Auto);
} }
def_target(os_ubuntu);
FeatInfo
os_ubuntu_feat (char *option)
{
FeatInfo f = {0};
f.can_get = true;
f.can_reset = false;
f.cap_locally = CanNot;
f.locally = NULL;
f.can_english = false;
f.can_user_define = true;
f.note = NULL;
return f;
}
def_target_gsf(os_ubuntu);