mkdir -p _/DEBIAN
./control.sh _ >_/DEBIAN/control
+ cp -a preinst _/DEBIAN/
find _ -exec touch -t "$$(date -j -f "%s" +"%Y%m%d%H%M.%S" "$$(git show --format='format:%ct' | head -n 1)")" {} ';'
--- /dev/null
+#!/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