Is it safe to delete duplicate exim directory?

telfordl

Verified User
Joined
Mar 6, 2011
Messages
10
After I have successfully followed the instruction for upgrading Exim found at: http://help.directadmin.com/item.php?id=125 I am left with a duplicate exim folder.
Code:
cp -f /usr/sbin/exim-4.73-1 /usr/sbin/exim
obviously leaves behind the /usr/sbin/exim-4.73-1/ directory that is now duplicated in the /usr/sbin/exim/ directory.

Since DA uses the /usr/sbin/exim/ directory, can I safely delete the /usr/sbin/exim-4.73-1/ directory and all of its contents? The instructions leave no clue about the cleanup and I didn't know if there were some dependencies on the original folder or not.

Any insight would be appreciated.:confused:
 
I've got no that directory, you've mentioned above:

Code:
# stat /usr/sbin/exim/
stat: cannot stat `/usr/sbin/exim/': Not a directory

But I've got a regular file /usr/sbin/exim. As soon as you've run:

Code:
cp -f /usr/sbin/exim-4.73-1 /usr/sbin/exim

You can delete /usr/sbin/exim-4.73-1. It's quite save.
 
Perfect. Thanks for the reply. Just didn't want to have to reinstall from a backup if this was needed. Oops! I wasn't looking carefully it is a file not a directory. :eek:
 
Back
Top