]> git.saurik.com Git - cydia.git/blame - Library/startup
update mapping
[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
JF
15 cache=
16fi
17
18if [[ ${cache+@} ]]; then
8f4edcae 19 su -c uicache mobile
4ef0751a 20fi