From b9730dffec59fe2989165b1008b809c0d6a1754b Mon Sep 17 00:00:00 2001 From: yangmingtaip Date: Tue, 8 Nov 2022 20:24:16 +0800 Subject: [PATCH] delete color.sh --- generic-release-1.0/color.sh | 27 --------------------------- generic-release.spec | 7 ++++--- 2 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 generic-release-1.0/color.sh diff --git a/generic-release-1.0/color.sh b/generic-release-1.0/color.sh deleted file mode 100644 index 92a3f87..0000000 --- a/generic-release-1.0/color.sh +++ /dev/null @@ -1,27 +0,0 @@ -#/bin/bash -#Copyright (c) [2019] Huawei Technologies Co., Ltd. -#generic-release is licensed under the Mulan PSL v2. -#You can use this software according to the terms and conditions of the Mulan PSL v2. -#You may obtain a copy of Mulan PSL v2 at: -# http://license.coscl.org.cn/MulanPSL2 -#THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR -#IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR -#PURPOSE. -#See the Mulan PSL v2 for more details. - -alias ls='ls --color=auto' -alias ll='ls -lh' -alias la='ls -lAh' -alias l.='ls -d .* --color=auto' - -alias grep='grep --color=auto' -alias egrep='egrep --color=auto' -alias fgrep='fgrep --color=auto' - -alias zgrep='zgrep --color=auto' -alias zfgrep='zfgrep --color=auto' -alias zegrep='zegrep --color=auto' - -alias xzgrep='xzgrep --color=auto' -alias xzfgrep='xzfgrep --color=auto' -alias xzegrep='xzegrep --color=auto' diff --git a/generic-release.spec b/generic-release.spec index f9d379e..632c4a8 100644 --- a/generic-release.spec +++ b/generic-release.spec @@ -5,7 +5,7 @@ %define dist_release_version 8 %define generic_version 20.03 %define generic_patch_level LTS -%define generic_release 51 +%define generic_release 52 %define builtin_release_version 1.0 %define current_arch %{_arch} @@ -67,7 +67,6 @@ ANSI_COLOR="0;31" EOF mkdir -p -m 755 $RPM_BUILD_ROOT/etc/profile.d -cp -a color.sh $RPM_BUILD_ROOT/etc/profile.d/ cp -a system-info.sh $RPM_BUILD_ROOT/etc/profile.d/ cp -a performance.sh $RPM_BUILD_ROOT/etc/profile.d/ @@ -117,7 +116,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) /etc/system-release -/etc/profile.d/color.sh /etc/profile.d/system-info.sh /etc/%{product_family}-release %config(noreplace) /etc/os-release @@ -136,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT /etc/profile.d/performance.sh %changelog +* Tue Nov 8 2022 yangmingtai - 1.0-52 +- delete color.sh + * Tue Nov 8 2022 liyanan - 1.0-51 - sysconfig parameters have a impact on performance,comment out the relevant content -- Gitee