mirror of https://git.code.sf.net/p/isync/isync
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
553 B
19 lines
553 B
#!/bin/sh |
|
set -e |
|
|
|
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "0.8"; then |
|
# Do not do debconf stuff if debconf is not there. |
|
# I don't want to have to pre-depend on debconf. |
|
if [ -e /usr/share/debconf/confmodule ]; then |
|
. /usr/share/debconf/confmodule |
|
db_get isync/upgrade_0.8 |
|
if [ "$RET" = true ]; then |
|
echo "Aborting isync upgrade at your request so you can manually resolve upgrade issue." >&2 |
|
exit 1 |
|
fi |
|
else |
|
echo "WARNING: Read NEWS.Debian file about manual upgrade issues from isync 0.7." >&2 |
|
fi |
|
fi |
|
|
|
#DEBHELPER#
|
|
|