blob: 86a4a25df18c2bdd833e075d29b44b1fd7451d42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
declare -a cydia
cydia=($CYDIA)
if [[ $1 == upgrade ]]; then
if [[ ${CYDIA+@} ]]; then
if [[ ${cydia[1]} -lt 1 ]]; then
echo 'PLEASE RESTART CYDIA!'
echo 'PLEASE RESTART CYDIA!'
echo 'PLEASE RESTART CYDIA!'
else
eval "echo 'finish:reopen' >&${cydia[0]}"
fi
fi
echo >/tmp/.cydia.fw
fi
exit 0
|