Skip to content

Commit

Permalink
Update common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gd0772 authored Jul 19, 2021
1 parent 6d80350 commit 74647ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ fi
################################################################################################################
Diy_chuli() {

if [[ "${TARGET_PROFILE}" == "x86-64" ]]; then
cp -Rf "${Home}"/build/common/Custom/DRM-I915 target/linux/x86/DRM-I915
for X in $(ls -1 target/linux/x86 | grep "config-"); do echo -e "\n$(cat target/linux/x86/DRM-I915)" >> target/linux/x86/${X}; done
fi
#if [[ "${TARGET_PROFILE}" == "x86-64" ]]; then
#cp -Rf "${Home}"/build/common/Custom/DRM-I915 target/linux/x86/DRM-I915
#for X in $(ls -1 target/linux/x86 | grep "config-"); do echo -e "\n$(cat target/linux/x86/DRM-I915)" >> target/linux/x86/${X}; done
#fi
grep -i CONFIG_PACKAGE_luci-app .config | grep -v \# > Plug-in
grep -i CONFIG_PACKAGE_luci-theme .config | grep -v \# >> Plug-in
if [[ `grep -c "CONFIG_PACKAGE_luci-i18n-qbittorrent-zh-cn=y" ${Home}/.config` -eq '0' ]]; then
Expand Down

0 comments on commit 74647ba

Please sign in to comment.