Package: yc-el Version: 4.0.13-5 Tags: patch Sometimes an installation process invokes emacsen-install scripts repeatedly. However, yc-el's install script fails when it is invoked repeatedly.
To reproduce:
---
# apt-get install yc-el
[...]
# /usr/lib/emacsen-common/packages/install/yc-el emacs21
install/yc-el: Handling install for emacsen flavor emacs21
cp: `yc.el' and `/usr/share/emacs21/site-lisp/yc-el/yc.el' are the same file
---
The cause of this problem is that *.el symlink exists before *.el
file is copied.
To fix this bug, please apply the following patch:
----
--- yc-el-4.0.13-5/debian/emacsen-install
+++ yc-el-4.0.13/debian/emacsen-install
@@ -48,6 +48,7 @@
install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
+rm -f ${ELCDIR}/*.el
cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
----
Thanks,
--
Tatsuya Kinoshita
pgp2QFqNOwXj5.pgp
Description: PGP signature

