Browse Source

aria2: fix some typo

Signed-off-by: James Qian <sotux82@gmail.com>
lilik-openwrt-22.03
James Qian 6 years ago
parent
commit
a07454d026
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/aria2/Makefile
  2. +2
    -2
      net/aria2/files/aria2.init

+ 1
- 1
net/aria2/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=aria2
PKG_VERSION:=1.34.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_VERSION)/


+ 2
- 2
net/aria2/files/aria2.init View File

@ -312,9 +312,9 @@ aria2_start() {
if [ -n "$user" ]; then
if ( user_exists "$user" && _change_owner "$user" "$config_dir" "$log" ); then
_info "Aria2 will run with uer '${user}'."
_info "Aria2 will run with user '${user}'."
if [ "$user" != "root" ]; then
_info "Please make sure user '${user}' has write access to downlod dir: ${dir}"
_info "Please make sure user '${user}' has write access to download dir: ${dir}"
fi
else
_info "Set run user to '${user}' failed, default user will be used."


Loading…
Cancel
Save