bug fix
This commit is contained in:
@@ -66,10 +66,10 @@ Release_data() {
|
|||||||
case $FILE_NAME2 in
|
case $FILE_NAME2 in
|
||||||
user)
|
user)
|
||||||
if [[ -d $X ]]; then
|
if [[ -d $X ]]; then
|
||||||
if [[ -f /config/sdcardfs/$name/appid ]]; then
|
if [[ -f /config/sdcardfs/$name2/appid ]]; then
|
||||||
G="$(cat "/config/sdcardfs/$name/appid")"
|
G="$(cat "/config/sdcardfs/$name2/appid")"
|
||||||
else
|
else
|
||||||
G="$(dumpsys package "$name" | awk '/userId=/{print $1}' | cut -f2 -d '=' | head -1)"
|
G="$(dumpsys package "$name2" | awk '/userId=/{print $1}' | cut -f2 -d '=' | head -1)"
|
||||||
fi ; G="$(echo "$G" | grep -Eo '[0-9]+')"
|
fi ; G="$(echo "$G" | grep -Eo '[0-9]+')"
|
||||||
if [[ $G != "" ]]; then
|
if [[ $G != "" ]]; then
|
||||||
echoRgb "路徑:$X"
|
echoRgb "路徑:$X"
|
||||||
|
|||||||
Reference in New Issue
Block a user