chore(install.sh): replace rm command with find

This commit is contained in:
Nikita Skryabin
2025-02-18 09:45:49 +03:00
parent ae06de8189
commit 744de6aec2

View File

@@ -97,7 +97,7 @@ main() {
fi
rm -f $DOWNLOAD_DIR/podkop*.ipk $DOWNLOAD_DIR/luci-app-podkop*.ipk $DOWNLOAD_DIR/luci-i18n-podkop-ru*.ipk
find "$DOWNLOAD_DIR" -type f -name '*podkop*' -exec rm {} \;
if [ "$IS_SHOULD_RESTART_NETWORK" ]; then
printf "\033[32;1mRestart network\033[0m\n"
@@ -429,4 +429,4 @@ sing_box() {
fi
}
main
main