# Full upgrade
true first_warning
true check_my_version
+true hold_carnet_upgrade
true check_php_version
true check_upgrade
true check_grsec_kernel
true apt_listchanges enable
true debconf_priority reset
true fix_issue
+true release_carnet_upgrade
# i konacno, provjeri da li stvari rade
true check_services postupgrade
echo $num
}
+
+# make sure carnet-upgrade doesn't get upgraded until the end
+hold_carnet_upgrade() {
+ echo carnet-upgrade hold | dpkg --set-selections
+}
+
+release_carnet_upgrade() {
+ echo carnet-upgrade install | dpkg --set-selections
+}