Skip to content

Commit

Permalink
OpenWrt-K工具:修复更新后"Permission denied"
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Oct 22, 2023
1 parent f3853e5 commit 15e51ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/usr/share/cmzj/openwrt-k_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ update_tool() {
;;
esac
curl -L --retry 3 --connect-timeout 20 https://raw.githubusercontent.com/chenmozhijin/OpenWrt-K/main/files/usr/share/cmzj/openwrt-k_tool.sh -o $TMPDIR/openwrt-k_tool.sh || download_failed
chmod +x $TMPDIR/openwrt-k_tool.sh
mv $TMPDIR/openwrt-k_tool.sh /usr/share/cmzj/openwrt-k_tool.sh && exit 0
}

Expand Down

0 comments on commit 15e51ad

Please sign in to comment.