From 117f701749f5a01a2e423ee36651a32db7d1e1f7 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Fri, 5 Sep 2008 12:47:17 +0200 Subject: [PATCH] Log package version first. --- src/cn-upgrade | 4 +++- src/functions.sh | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) 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." -- 1.7.10.4