]> git.saurik.com Git - cydia.git/blame - Library/startup
Do not restart SpringBoard if symlink is damaged.
[cydia.git] / Library / startup
CommitLineData
aa5e5990 1#!/bin/bash
fde34135 2
a781cf0d 3export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
fde34135
JF
4
5if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
6 cache=
7fi
8
8f4edcae 9/usr/libexec/cydia/firmware.sh
fde34135 10
4ef0751a
JF
11debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
12if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
76fb4bac 13 dpkg -i "${debs[@]}" 2>/tmp/dpkg.log 1>&2
4ef0751a 14 rm -f "${debs[@]}"
fde34135 15 cache=
60a10e1f
JF
16
17 killall -9 Lowtide AppleTV
fde34135
JF
18fi
19
20if [[ ${cache+@} ]]; then
3ef53992 21 sbdidlaunch
8f4edcae 22 su -c uicache mobile
4ef0751a 23fi