From dd812e0c65c667270d8c6940b82732dddd955f18 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 6 Sep 2023 16:06:50 +0800 Subject: [PATCH] Remove test info --- chsrc.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/chsrc.c b/chsrc.c index 5c54d52..261f765 100644 --- a/chsrc.c +++ b/chsrc.c @@ -1,10 +1,9 @@ -/******Test_Merge modified by hengG*****/ /* -------------------------------------------------------------- * File : chsrc.c * License : GPLv3 * Authors : Aoran Zeng * Created on : <2023-08-28> -* Last modified : <2023-09-05> +* Last modified : <2023-09-06> * * chsrc: * @@ -1074,7 +1073,7 @@ os_msys2_setsrc(char* option) source.url, "distrib/<架构>/"); xy_info (prev); - + char* cmd = xy_strjoin(3,"sed -i \"s#https\?://mirror.msys2.org/#", source.url, "#g\" /etc/pacman.d/mirrorlist* "); @@ -1129,7 +1128,7 @@ os_arch_setsrc(char* option) // char* rm = "rm -rf /etc/pacman.d/mirrorlist.bak"; // system(rm); - + chsrc_say_thanks(&source); xy_info ("Please use \"pacman -Syyu \" to update your source"); } @@ -1217,7 +1216,7 @@ os_netbsd_setsrc(char* option) // char* rm = "rm -rf /etc/portage/repos.conf/gentoo.conf.bak"; // system(rm); - + chsrc_say_thanks(&source); }