diff --git a/cattools.sh b/cattools.sh index 8c5be9c..d3f23a0 100644 --- a/cattools.sh +++ b/cattools.sh @@ -643,6 +643,10 @@ apply_repo() { curl -sL "$CONF_PATH" -o /etc/opkg/distfeeds.conf + if [ -f /var/lock/opkg.lock ]; then + rm /var/lock/opkg.lock + fi + # fack istore_compat if [ -f /var/opkg-lists/istore_compat ]; then rm /var/opkg-lists/istore_compat