fix get_version shell command (#2804)

This commit is contained in:
Tianhe Y 2023-09-19 19:14:27 +08:00 committed by sbwml
parent 1198366b16
commit 7767161973

View File

@ -938,7 +938,7 @@ function to_move(app_name,file)
end
function get_version()
return sys.exec("echo -n $(opkg info luci-app-passwall |grep 'Version'|awk '{print $2}')")
return sys.exec("echo -n $(opkg list-installed luci-app-passwall |awk '{print $3}')")
end
function to_check_self()