!130 delete color.sh
From: @yangmingtaip Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
5715d6d0de
@ -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'
|
|
||||||
@ -5,7 +5,7 @@
|
|||||||
%define dist_release_version 8
|
%define dist_release_version 8
|
||||||
%define generic_version 20.03
|
%define generic_version 20.03
|
||||||
%define generic_patch_level LTS
|
%define generic_patch_level LTS
|
||||||
%define generic_release 51
|
%define generic_release 52
|
||||||
%define builtin_release_version 1.0
|
%define builtin_release_version 1.0
|
||||||
|
|
||||||
%define current_arch %{_arch}
|
%define current_arch %{_arch}
|
||||||
@ -67,7 +67,6 @@ ANSI_COLOR="0;31"
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/profile.d
|
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 system-info.sh $RPM_BUILD_ROOT/etc/profile.d/
|
||||||
cp -a performance.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
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
/etc/system-release
|
/etc/system-release
|
||||||
/etc/profile.d/color.sh
|
|
||||||
/etc/profile.d/system-info.sh
|
/etc/profile.d/system-info.sh
|
||||||
/etc/%{product_family}-release
|
/etc/%{product_family}-release
|
||||||
%config(noreplace) /etc/os-release
|
%config(noreplace) /etc/os-release
|
||||||
@ -136,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/etc/profile.d/performance.sh
|
/etc/profile.d/performance.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 8 2022 yangmingtai <yangmingtai@huawei.com> - 1.0-52
|
||||||
|
- delete color.sh
|
||||||
|
|
||||||
* Tue Nov 8 2022 liyanan <liyanan32@h-partners.com> - 1.0-51
|
* Tue Nov 8 2022 liyanan <liyanan32@h-partners.com> - 1.0-51
|
||||||
- sysconfig parameters have a impact on performance,comment out the relevant content
|
- sysconfig parameters have a impact on performance,comment out the relevant content
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user