# HG changeset patch # User Rik # Date 1326950833 28800 # Node ID 6ec182c207af988aecb77596ee8fbad14c575ff8 # Parent fe65588c31b86312524a035ad5005fe7f77ca4b5 prefsfile.m: Remove unnecessary code to transition users to .octave_prefs filename. * prefsfile.m: Remove unnecessary code to transition users to .octave_prefs filename. diff --git a/scripts/prefs/private/prefsfile.m b/scripts/prefs/private/prefsfile.m --- a/scripts/prefs/private/prefsfile.m +++ b/scripts/prefs/private/prefsfile.m @@ -27,25 +27,6 @@ retval = "~/.octave_prefs"; - ## Transition users to new filename if necessary - ## FIXME: Delete before 3.6.0 release - oldname = tilde_expand ("~/.octave-prefs"); - if (exist (oldname, "file")) - newname = tilde_expand (retval); - if (exist (newname, "file")) - error (["Octave uses the file ~/.octave_prefs to store preferences.\n",... - " The old file name was ~/.octave-prefs.\n",... - " Both files exist."... - " User must manually delete one of the files.\n"]); - endif - status = movefile (oldname, newname); - if (! status) - error (["Octave uses the file ~/.octave_prefs to store preferences.\n", - " The old file name was ~/.octave-prefs.\n", - " User must manually rename the old file to the new name.\n"]); - endif - endif - endfunction %% Testing these functions will require some care to avoid wiping out