X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=34b9022a488054f8e8e88d432cf096b36da887c5;hb=6d042d931b7f42f77624c866e91ef8dcc90c5b99;hp=56fab41ee903d01cee17bae5222887d57d142743;hpb=4074b9d44bfb05fb8ae0645085c339d1da4d2e78;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index 56fab41..34b9022 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -367,7 +367,7 @@ check_upgrade () { if [ "$upgrade" ]; then notice " -Prije prelaska na Debian Wheezy potrebno je napraviti nadogradnju ovih paketa: +Prije prelaska na Debian jessie potrebno je napraviti nadogradnju ovih paketa: $upgrade Pokrenite: @@ -744,6 +744,11 @@ restore_configs () { 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 @@ -864,7 +869,6 @@ pkgupgrade () { # 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 }