Log package version first.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 5 Sep 2008 10:47:17 +0000 (12:47 +0200)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 5 Sep 2008 10:47:17 +0000 (12:47 +0200)
src/cn-upgrade
src/functions.sh

index 173a9b7..fa46875 100755 (executable)
@@ -2,7 +2,7 @@
 # last update: 2005-01-07
 # Zoran 'jelly' Dzelajlija <jelly@srce.hr>
 # Ivan 'ico' Rako <irako@srce.hr>
-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"
 
index 8792723..4512ee6 100644 (file)
@@ -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."