From: Valentin Vidic Date: Fri, 5 Sep 2008 10:47:17 +0000 (+0200) Subject: Log package version first. X-Git-Tag: debian/4.0.6~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=117f701749f5a01a2e423ee36651a32db7d1e1f7;p=carnet-upgrade.git Log package version first. --- diff --git a/src/cn-upgrade b/src/cn-upgrade index 173a9b7..fa46875 100755 --- a/src/cn-upgrade +++ b/src/cn-upgrade @@ -2,7 +2,7 @@ # last update: 2005-01-07 # Zoran 'jelly' Dzelajlija # Ivan 'ico' Rako -version="carnet-upgrade v4.0.5" +version="carnet-upgrade v4.0.6" # restart upgrade under script for logging purposes if [ "$1" == "--no-script" ]; then @@ -29,6 +29,8 @@ cnup="/usr/share/carnet-upgrade" . ${ROOT}${cnup}/messages.sh . ${ROOT}${cnup}/functions.sh +log "$version starting" + main_queuetab="${cnup}/actions/main.queue" post_upgrade_queuetab="/var/lib/carnet-upgrade/post_upgrade.queue" diff --git a/src/functions.sh b/src/functions.sh index 8792723..4512ee6 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -6,7 +6,6 @@ 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."