ソースを参照

Update opkginstall.patch

kiddin9 4 年 前
コミット
5cb410b3fd
1 ファイル変更1 行追加2 行削除
  1. 1 2
      devices/common/patches/opkginstall.patch

+ 1 - 2
devices/common/patches/opkginstall.patch

@@ -136,7 +136,7 @@
  				code=$?
  				stdout=$(cat /tmp/opkg.out)
  				stderr=$(cat /tmp/opkg.err)
-@@ -47,6 +56,18 @@ case "$action" in
+@@ -47,6 +56,17 @@ case "$action" in
  			[ -n "$stdout" ] && json_add_string stdout "$stdout"
  			[ -n "$stderr" ] && json_add_string stderr "$stderr"
  			json_dump
@@ -145,7 +145,6 @@
 +			install)
 +				[[ "$(opkg list-installed | cut -f 1 -d ' ' | grep $@)" && ! "$(cat /etc/backup/user_installed.opkg | grep ^$@$)" ]] && {
 +				echo $@ >>/etc/backup/user_installed.opkg
-+				killall -HUP rpcd
 +				}
 +			;;
 +			remove)