Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- CurrentInstallLocation=$(pm getInstallLocation | cut -f 1 -d [)
- case "$CurrentInstallLocation" in
- '')
- CurrentInstallLocation="Error: could not get current install location."
- ;;
- 0)
- CurrentInstallLocation="Auto: System will decide where apps will be installed to."
- ;;
- 1)
- CurrentInstallLocation="Internal: Apps will be installed to internal storage."
- ;;
- 2)
- CurrentInstallLocation="External: Apps will be installed to sdcard"
- ;;
- esac
- echo "$CurrentInstallLocation"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement