mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-03 04:00:30 +08:00
Add os aliases
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_armbian);
|
||||
def_target(os_armbian, "armbian");
|
||||
|
||||
void
|
||||
os_armbian_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_debian);
|
||||
def_target(os_debian, "debian");
|
||||
|
||||
void
|
||||
os_debian_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_kali);
|
||||
def_target(os_kali, "kali");
|
||||
|
||||
void
|
||||
os_kali_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_linuxlite);
|
||||
def_target(os_linuxlite, "linuxlite");
|
||||
|
||||
void
|
||||
os_linuxlite_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_linuxmint);
|
||||
def_target(os_linuxmint, "linuxmint");
|
||||
|
||||
void
|
||||
os_linuxmint_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_ros);
|
||||
def_target(os_ros, "ros/ros2");
|
||||
|
||||
void
|
||||
os_ros_prelude ()
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Raspberry Pi OS 树莓派操作系统,以前称为 Raspbian
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_raspberrypi);
|
||||
def_target(os_raspberrypi, "raspi/raspberrypi");
|
||||
|
||||
void
|
||||
os_raspberrypi_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_termux);
|
||||
def_target(os_termux, "termux");
|
||||
|
||||
void
|
||||
os_termux_prelude ()
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Trisquel基于Ubuntu开发,不含任何专有软件及专有固件,内核使用 Linux-libre
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_trisquel);
|
||||
def_target(os_trisquel, "trisquel");
|
||||
|
||||
void
|
||||
os_trisquel_prelude ()
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_ubuntu);
|
||||
/* Zorin OS 完全使用 Ubuntu 的换源方法,二者兼容 */
|
||||
def_target(os_ubuntu, "ubuntu/zorinos");
|
||||
|
||||
void
|
||||
os_ubuntu_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_deepin);
|
||||
def_target(os_deepin, "deepin");
|
||||
|
||||
void
|
||||
os_deepin_prelude ()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* 同一级别的、根社区发布的系统
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_openkylin);
|
||||
def_target(os_openkylin, "openkylin");
|
||||
|
||||
void
|
||||
os_openkylin_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_alpine);
|
||||
def_target(os_alpine, "alpine");
|
||||
|
||||
void
|
||||
os_alpine_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_freebsd);
|
||||
def_target(os_freebsd, "freebsd");
|
||||
|
||||
void
|
||||
os_freebsd_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_netbsd);
|
||||
def_target(os_netbsd, "netbsd");
|
||||
|
||||
void
|
||||
os_netbsd_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_openbsd);
|
||||
def_target(os_openbsd, "openbsd");
|
||||
|
||||
void
|
||||
os_openbsd_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_gentoo);
|
||||
def_target(os_gentoo, "gentoo");
|
||||
|
||||
void
|
||||
os_gentoo_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_openwrt);
|
||||
def_target(os_openwrt, "openwrt/opkg/LEDE");
|
||||
|
||||
void
|
||||
os_openwrt_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_solus);
|
||||
def_target(os_solus, "solus");
|
||||
|
||||
void
|
||||
os_solus_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_voidlinux);
|
||||
def_target(os_voidlinux, "voidlinux");
|
||||
|
||||
void
|
||||
os_voidlinux_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_almalinux);
|
||||
def_target(os_almalinux, "alma/almalinux");
|
||||
|
||||
void
|
||||
os_almalinux_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_anolis);
|
||||
def_target(os_anolis, "anolis/openanolis");
|
||||
|
||||
void
|
||||
os_anolis_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_fedora);
|
||||
def_target(os_fedora, "fedora");
|
||||
|
||||
void
|
||||
os_fedora_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_rockylinux);
|
||||
def_target(os_rockylinux, "rocky/rockylinux");
|
||||
|
||||
void
|
||||
os_rockylinux_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_openeuler);
|
||||
def_target(os_openeuler, "openeuler");
|
||||
|
||||
void
|
||||
os_openeuler_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_opensuse);
|
||||
def_target(os_opensuse, "opensuse/opensuse-leap/opensuse-tumbleweed");
|
||||
|
||||
void
|
||||
os_opensuse_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_arch);
|
||||
def_target(os_arch, "arch/archlinux");
|
||||
|
||||
#define OS_Pacman_MirrorList "/etc/pacman.d/mirrorlist"
|
||||
#define OS_Pacman_ArchLinuxCN_MirrorList "/etc/pacman.conf"
|
||||
@@ -111,7 +111,7 @@ os_arch_setsrc (char *option)
|
||||
* archlinuxcn target
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_archlinuxcn);
|
||||
def_target(os_archlinuxcn, "archlinuxcn/archcn");
|
||||
|
||||
void
|
||||
os_archlinuxcn_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_msys2);
|
||||
def_target(os_msys2, "msys2/msys");
|
||||
|
||||
void
|
||||
os_msys2_prelude ()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
def_target(os_manjaro);
|
||||
def_target(os_manjaro, "manjaro");
|
||||
|
||||
void
|
||||
os_manjaro_prelude ()
|
||||
|
||||
Reference in New Issue
Block a user