+2004-05-14 Todd Berman <tberman@sevenl.net>
+
+ * gacutil.cs: Remove old file/symlink, thanks urs.
+
2004-05-14 Jackson Harper <jackson@ximian.com>
* gacutil.cs: Always install the package files.
if (package_name != String.Empty) {
string ref_file = libdir + package_name +
Path.DirectorySeparatorChar + filename;
+ if (File.Exists (ref_file)) {
+ File.Delete (ref_file);
+ }
if (Path.DirectorySeparatorChar == '/') {
try {
Directory.CreateDirectory (libdir + package_name);
symlink (linkPath + an.Name + ".dll", ref_file);
} else {
- File.Copy (path, ref_file, true);
+ File.Copy (path, ref_file);
}
Console.WriteLine ("Package exported to: " + libdir + package_name);
}