Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
r66 committed - Don't fail when upgrading, downgrading, then upgrading again (fixes is...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
inno...@googlecode.com  
View profile  
 More options Feb 25, 8:20 pm
From: inno...@googlecode.com
Date: Sun, 26 Feb 2012 01:20:03 +0000
Local: Sat, Feb 25 2012 8:20 pm
Subject: [innotop] r66 committed - Don't fail when upgrading, downgrading, then upgrading again (fixes is...
Revision: 66
Author:   baron.schwa...@gmail.com
Date:     Sat Feb 25 17:19:30 2012
Log:      Don't fail when upgrading, downgrading, then upgrading again  
(fixes issue 53)
http://code.google.com/p/innotop/source/detail?r=66

Modified:
  /trunk/innotop

=======================================
--- /trunk/innotop      Sat Feb 25 17:03:43 2012
+++ /trunk/innotop      Sat Feb 25 17:19:30 2012
@@ -7217,8 +7217,10 @@
     if ($opts{c}) {
        $conf_file = $opts{c};
     }
-   # innotop got upgraded and this is an old config file.
-   elsif ( -f "$homepath/.innotop" or -f "$homepath/.innotop/innotop.ini"  
) {
+   # If we don't have a new config file but we do have an old one,
+   # innotop got upgraded and this is an old config file. Convert it, but
+   # don't overwrite something existing.
+   elsif ( ! -f $default_home_conf && ( -f "$homepath/.innotop" or  
-f "$homepath/.innotop/innotop.ini" ) ) {
        $conf_file = $default_home_conf;
        if ( -f  "$homepath/.innotop") {
           $old_filename = "$homepath/.innotop";


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »