From 744de6aec254d3c1b22ce45756c6f7d9b7d1a093 Mon Sep 17 00:00:00 2001 From: Nikita Skryabin Date: Tue, 18 Feb 2025 09:45:49 +0300 Subject: [PATCH] chore(install.sh): replace rm command with find --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 119bade..6c702b9 100755 --- a/install.sh +++ b/install.sh @@ -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 \ No newline at end of file +main