Changeset 7662


Ignore:
Timestamp:
Jul 7, 2004, 8:45:47 PM (16 years ago)
Author:
wbb4
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Inform the use that they can use the -f flag to force activation on conflicting files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/registry1.0/portimage.tcl

    r7620 r7662  
    305305
    306306                if { $port != 0  && $force != 1 && $port != $name } {
    307                         return -code error "Image error: $file is being used by the active $port port.  Please deactivate this port first."
     307                        return -code error "Image error: $file is being used by the active $port port.  Please deactivate this port first, or use the -f flag to force the activation."
    308308                } elseif { [file exists $file] && $force != 1 } {
    309309                        return -code error "Image error: $file already exists and does not belong to a registered port.  Unable to activate port $name."
Note: See TracChangeset for help on using the changeset viewer.