mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-22 06:55:20 +08:00
Add feat for Debian
and Ubuntu
This commit is contained in:
parent
13e3c8ada1
commit
3514664ae0
|
@ -5,7 +5,7 @@
|
|||
* | Heng Guo <2085471348@qq.com>
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* 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);
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* | Heng Guo <2085471348@qq.com>
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* 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);
|
||||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user