]> git.saurik.com Git - cydia.git/blame - Library/startup
chpwn got the "blink only for essential packages" logic backwards, and claims to...
[cydia.git] / Library / startup
CommitLineData
30d83bfe 1#!/bin/bash
5225a136 2
4f6ea29d 3export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
da289b03 4sbdidlaunch
5225a136
JF
5
6if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
7 cache=
8fi
9
da289b03 10/usr/libexec/cydia/firmware.sh
5225a136 11
fdb40366
JF
12debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
13if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
14 dpkg -i "${debs[@]}"
15 rm -f "${debs[@]}"
5225a136
JF
16 cache=
17fi
18
19if [[ ${cache+@} ]]; then
da289b03 20 su -c uicache mobile
fdb40366 21fi