From fc73c53a953e3269fb5b13df6a012a3637869123 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Wed, 30 Sep 2020 23:46:28 +0800 Subject: [PATCH] drop wrong detection --- root/etc/init.d/unblockneteasemusic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/init.d/unblockneteasemusic b/root/etc/init.d/unblockneteasemusic index 62bf07a0..71ec7a39 100755 --- a/root/etc/init.d/unblockneteasemusic +++ b/root/etc/init.d/unblockneteasemusic @@ -193,7 +193,7 @@ start() [ ! -e "/usr/share/unblockneteasemusic/core/app.js" ] && { echo "Core Not Found, please download it before starting." >> "/tmp/unblockneteasemusic.log"; exit 1; } [ "${use_remote_qq_server}" -ne "1" ] && qq_server_mode="local" || qq_server_mode="remote" - grep -q "${qq_server_mode}" "/usr/share/unblockneteasemusic/core/src/provider/qq.js" || bash "/usr/share/unblockneteasemusic/gen_remote_qq_server.sh" "${qq_server_mode}" "${enable_flac}" > "/usr/share/unblockneteasemusic/core/src/provider/qq.js" + bash "/usr/share/unblockneteasemusic/gen_remote_qq_server.sh" "${qq_server_mode}" "${enable_flac}" > "/usr/share/unblockneteasemusic/core/src/provider/qq.js" [ -n "${neteasemusic_cookie}" ] && { ub_cookie_line="$(sed -n -e "/netease.path.includes('song\/enhance')/=" "/usr/share/unblockneteasemusic/core/src/hook.js")";