]> git.saurik.com Git - cydia.git/blob - Library/asuser
Further factorization, file content list, checkbox clarication, advanced search tease...
[cydia.git] / Library / asuser
1 #!/bin/bash
2
3 version=$(sw_vers -productVersion)
4
5 if [[ ${version} = 1.0* || ${version} = 1.1.[012] ]]; then
6 user=root
7 else
8 user=mobile
9 fi
10
11 su -c "${user}" "$@"