]> git.saurik.com Git - cydia.git/blame - Library/startup
Take Telesphoreo's preinst.
[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
13 dpkg -i "${debs[@]}"
14 rm -f "${debs[@]}"
fde34135 15 cache=
60a10e1f
JF
16
17 killall -9 Lowtide AppleTV
fde34135
JF
18fi
19
20if [[ ${cache+@} ]]; then
8f4edcae 21 su -c uicache mobile
4ef0751a 22fi