;;
esac
-# clear old cached values
-if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 4.0; then
- if [ -e /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
+if [ "$1" = "configure" ] && [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+
+ # clear old cached values
+ if dpkg --compare-versions "$2" lt 4.0; then
db_set carnet-upgrade/debconf-priority ""
db_set carnet-upgrade/check-services ""
- fi
+ fi
+
+ # display installation notice (since 4.0.3)
+ db_input high carnet-upgrade/short-instructions || true
+ db_go
fi
# dh_installdeb will replace this with shell code automatically
#DEBHELPER#
exit 0
-
-
Template: carnet-upgrade/check-services
Type: string
Description: for internal use
+
+Template: carnet-upgrade/short-instructions
+Type: note
+Description: CARNet Debian 4.0 (etch) nadogradnja
+ Instalirali ste paket carnet-upgrade za nadogradnju sa CARNet Debian
+ 2.1 (sarge) na CARNet Debian 4.0 (etch).
+ .
+ Prije pocetka nadogradnje napravite backup cijelog sustava i
+ procitajte dokumentaciju u /usr/share/doc/carnet-upgrade/ ili na
+ webu: http://sistemac.carnet.hr/system/files/carnet-upgrade.pdf
+ .
+ Ukoliko niste restartali posluzitelj nakon instalacije kernela,
+ restartajte ga prije pokretanja nadogradnje. Ukoliko nemate barem
+ 100 MB slobodnog mjesta na / particiji procitajte upute na webu:
+ http://sistemac.carnet.hr/node/401
+ .
+ Nadogradnju pokrenite kao root sa 'carnet-upgrade'.