blob: 93211987570a00ea4db0a9fbd4f2b6590cb8321d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
if [[ ! -e /var/lib/cydia/firmware.ver ]]; then
cache=
fi
/usr/libexec/cydia/firmware.sh
debs=(/var/root/Media/Cydia/AutoInstall/*.deb)
if [[ ${#debs[@]} -ne 0 && -f ${debs[0]} ]]; then
dpkg -i "${debs[@]}" 2>/tmp/dpkg.log 1>&2
rm -f "${debs[@]}"
cache=
killall -9 Lowtide AppleTV
fi
if [[ ${cache+@} ]]; then
su -c uicache mobile
fi
|