Remove old ec_list before creating link.
authorFlorian Pose <fp@igh-essen.com>
Tue, 25 Jul 2006 10:19:40 +0000
changeset 317 e5ceb7cd20b5
parent 316 23f501274ddf
child 318 5f35e74124d1
Remove old ec_list before creating link.
script/install.sh
--- a/script/install.sh	Tue Jul 25 10:08:17 2006 +0000
+++ b/script/install.sh	Tue Jul 25 10:19:40 2006 +0000
@@ -90,6 +90,7 @@
 echo "  Installing tools"
 cp script/lsec.pl /usr/local/bin/lsec || exit 1
 chmod +x /usr/local/bin/ec_list || exit 1
+rm -f /usr/local/bin/ec_list || exit 1
 ln -s /usr/local/bin/lsec /usr/local/bin/ec_list || exit 1
 
 #------------------------------------------------------------------------------