]> git.saurik.com Git - cydia.git/blame_incremental - Library/startup
Do not crash if Safari's Info.plist can't be read.
[cydia.git] / Library / startup
... / ...
CommitLineData
1#!/bin/bash
2
3export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
4
5if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
6 cache=
7fi
8
9/usr/libexec/cydia/firmware.sh
10
11debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
12if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
13 dpkg -i "${debs[@]}" 2>/tmp/dpkg.log 1>&2
14 rm -f "${debs[@]}"
15 cache=
16
17 killall -9 Lowtide AppleTV
18fi
19
20if [[ ${cache+@} ]]; then
21 sbdidlaunch
22 su -c uicache mobile
23fi