Skip to content

Commit

Permalink
项目调整
Browse files Browse the repository at this point in the history
  • Loading branch information
VIKINGYFY committed Jan 12, 2025
1 parent e78d4bf commit 35da3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ UPDATE_PACKAGE() {
git clone --depth=1 --single-branch --branch $PKG_BRANCH "https://github.com/$PKG_REPO.git"

if [[ $PKG_SPECIAL == "pkg" ]]; then
find ./$REPO_NAME/*/ -maxdepth 3 -type d -iname "*$PKG_NAME*" -prune | xargs -I {} cp -rf {} ./
find ./$REPO_NAME/*/ -maxdepth 3 -type d -iname "*$PKG_NAME*" -prune -exec cp -rf {} ./ \;
rm -rf ./$REPO_NAME/
elif [[ $PKG_SPECIAL == "name" ]]; then
mv -f $REPO_NAME $PKG_NAME
Expand Down

0 comments on commit 35da3e0

Please sign in to comment.