X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=87927231a6c7d48186596117f8615faca6b1301b;hb=4c8eddead18619f440db0845fe0db10848942b89;hp=fc5e65d5a3c6b9de04366f460bfeab83ddaac93f;hpb=7bf6d65fccb92a509ce93595e5de2e2dc675cd6b;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index fc5e65d..8792723 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -6,6 +6,7 @@ notice () { } first_warning () { + log "$version" LC_MESSAGES=hr_HR dialog --backtitle "$title" --yesno "$msg_first_warning" 18 75 if [ $? -ne 0 ]; then log "Upgrade canceled." @@ -350,7 +351,7 @@ check_grsec_kernel () { return 0 fi - if [ "$ver" = "${ver#2.6.2[2-9]}" ]; then + if [ "$ver" = "${ver#2.6.2[4-9]}" ]; then # kernel too old notice " Prije prelaska na Debian Etch potrebno je napraviti nadogradnju na najnoviji grsec kernel.