]> git.saurik.com Git - cydia.git/blame_incremental - Library/startup
Wolfgang is the man.
[cydia.git] / Library / startup
... / ...
CommitLineData
1#!/bin/bash
2
3export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
4sbdidlaunch
5
6if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
7 cache=
8fi
9
10/usr/libexec/cydia/firmware.sh
11
12debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
13if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
14 dpkg -i "${debs[@]}"
15 rm -f "${debs[@]}"
16 cache=
17fi
18
19if [[ ${cache+@} ]]; then
20 su -c uicache mobile
21fi