mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-08 04:26:55 +03:00
chore(install.sh): replace rm command with find
This commit is contained in:
@@ -97,7 +97,7 @@ main() {
|
|||||||
fi
|
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
|
if [ "$IS_SHOULD_RESTART_NETWORK" ]; then
|
||||||
printf "\033[32;1mRestart network\033[0m\n"
|
printf "\033[32;1mRestart network\033[0m\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user