From 471ea472b70d5373670aacca8b6c18bfa8c38919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Wed, 10 Jan 2024 21:41:23 +0800 Subject: [PATCH] Update userepo --- cattools.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cattools.sh b/cattools.sh index 2918115..cae39f8 100644 --- a/cattools.sh +++ b/cattools.sh @@ -258,6 +258,11 @@ use_repo(){ return fi + if [ -f "/var/lock/opkg.lock" ]; then + rm /var/lock/opkg.lock + fi + + opkg update } catwrt_sysupgrade(){