升级时不保留 /etc/profile

This commit is contained in:
Hyy2001X 2021-04-29 10:35:33 +08:00 committed by GitHub
parent cc8dd3c34d
commit 207a838b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ Firmware-Diy_Base() {
AutoUpdate_Version=$(awk 'NR==6' package/base-files/files/bin/AutoUpdate.sh | awk -F '[="]+' '/Version/{print $2}')
} || AutoUpdate_Version=OFF
Replace_File CustomFiles/Depends/profile package/base-files/files/etc
sed -i '/profile/d' package/base-files/lib/upgrade/keep.d/base-files-essential
case ${Source_Owner} in
coolsnowwolf)
Replace_File CustomFiles/Depends/coremark_lede.sh package/lean/coremark coremark.sh