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(){