reopen 403745 found 403745 4.0.13-6 thanks > yc-el (4.0.13-6) unstable; urgency=low > . > * fixed install script fails when it is invoked repeatedly > - Appy patch by hand. > (closes: #403745)
----
--- yc-el-4.0.13-5/debian/emacsen-install
+++ yc-el-4.0.13-6/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}
----
Your patch seems to be broken. Please use `${ELCDIR}' instead of
`$(ELCDIR)'.
Your patch causes an error `ELCDIR: command not found' and don't
fix this bug, as follows:
----
Setting up yc-el (4.0.13-6) ...
install/yc-el: Handling install for emacsen flavor emacs21
/usr/lib/emacsen-common/packages/install/yc-el: line 51: ELCDIR: command not
found
emacs21 -no-site-file -q -batch -l path.el -f batch-byte-compile yc.el
Wrote /usr/share/emacs21/site-lisp/yc-el/yc.elc
Done
# /usr/lib/emacsen-common/packages/install/yc-el emacs21
install/yc-el: Handling install for emacsen flavor emacs21
/usr/lib/emacsen-common/packages/install/yc-el: line 51: ELCDIR: command not
found
cp: `yc.el' and `/usr/share/emacs21/site-lisp/yc-el/yc.el' are the same file
----
--
Tatsuya Kinoshita
pgpbGIgNJ9Vl7.pgp
Description: PGP signature

