delete color.sh
This commit is contained in:
parent
e37cad7fff
commit
bef932db76
@ -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'
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
%define generic_version 22.03
|
%define generic_version 22.03
|
||||||
%define generic_patch_level LTS
|
%define generic_patch_level LTS
|
||||||
%define generic_patch_level_extend Next
|
%define generic_patch_level_extend Next
|
||||||
%define generic_release 53
|
%define generic_release 54
|
||||||
%define builtin_release_version 1.0
|
%define builtin_release_version 1.0
|
||||||
|
|
||||||
%define current_arch %{_arch}
|
%define current_arch %{_arch}
|
||||||
@ -68,7 +68,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/
|
||||||
|
|
||||||
@ -118,7 +117,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
|
||||||
@ -137,6 +135,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-54
|
||||||
|
- delete color.sh
|
||||||
|
|
||||||
* Tue Nov 8 2022 liyanan <liyanan32@h-partners.com> - 1.0-53
|
* Tue Nov 8 2022 liyanan <liyanan32@h-partners.com> - 1.0-53
|
||||||
- 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