]> git.saurik.com Git - cydia.git/blob - Library/asuser
Let's just stash /Applications (Pangu said "yes").
[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}" "$@"