if [ "$upgrade" ]; then
notice "
-Prije prelaska na Debian Squeeze potrebno je napraviti nadogradnju ovih paketa:
+Prije prelaska na Debian jessie potrebno je napraviti nadogradnju ovih paketa:
$upgrade
Pokrenite:
fi
}
+# load various debconf defaults
+debconf_preload () {
+ echo libc6 libraries/restart-without-asking boolean true | debconf-set-selections
+}
+
# temporary disable listchanges packages to reduce clutter during upgrade
apt_listchanges () {
local file command=$1
# upgrade apache2/php5
upgrade_apache2 () {
pkgrm apache-common # prevents installation of apache2-suexec
- pkgrm php5-suhosin # not available for wheezy
pkgupgrade libapache2-mod-php5 php5-cli php5-cn apache2-cn \
php5-odbc mod-security-cn
}
echo $val
}
+# switch to rsyslog
+upgrade_syslog() {
+ # libc6-dev prevents upgrade
+ if pkg libc6-dev; then
+ pkgrm libc6-dev
+ fi
+
+ pkgadd rsyslog
+ dpkg -P sysklogd klogd
+}
+
# restore munin configs for silent upgrade
upgrade_munin () {
local config backup hostname domain