bugfix
This commit is contained in:
@@ -892,8 +892,8 @@ Release_data() {
|
|||||||
if [[ -f /config/sdcardfs/$name2/appid ]]; then
|
if [[ -f /config/sdcardfs/$name2/appid ]]; then
|
||||||
G="$(cat "/config/sdcardfs/$name2/appid")"
|
G="$(cat "/config/sdcardfs/$name2/appid")"
|
||||||
else
|
else
|
||||||
#G="$(dumpsys package "$name2" 2>/dev/null | grep -w 'userId' | head -1)"
|
G="$(dumpsys package "$name2" 2>/dev/null | grep -w 'userId' | head -1)"
|
||||||
[[ $G = "" ]] && G="$(pm list packages -U --user "$user" | egrep -w "$name2" | cut -f3 -d ':')"
|
[[ $G = "" ]] && G="$(pm list packages -U --user "$user" | egrep -w "$name2" | cut -f3 -d ':' | awk '{print $1}')"
|
||||||
fi
|
fi
|
||||||
G="$(echo "$G" | egrep -o '[0-9]+')"
|
G="$(echo "$G" | egrep -o '[0-9]+')"
|
||||||
if [[ $G != "" ]]; then
|
if [[ $G != "" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user