projects
/
cydia.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Remove even more global variables (super CyteKit).
[cydia.git]
/
preinst
1
#!/bin/bash
2
3
declare -a
cydia
4
cydia
=(
$CYDIA
)
5
6
if
[[
$1
==
upgrade
]];
then
7
if
[[
${CYDIA+@}
]];
then
8
if
[[
${cydia[1]}
-lt
1
]];
then
9
echo
'PLEASE RESTART CYDIA!'
10
echo
'PLEASE RESTART CYDIA!'
11
echo
'PLEASE RESTART CYDIA!'
12
else
13
eval
"echo 'finish:reopen' >&
${cydia[0]}
"
14
fi
15
fi
16
fi
17
18
exit
0