Remove the whole emacs compiled directory...
... rather than just .elc file. Thanks to Kevin Ryde. (Closes: #710572)
This commit is contained in:
parent
d2afae7e18
commit
a18f69b89d
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -13,6 +13,8 @@ cmake (2.8.12-0r1) UNRELEASED; urgency=low
|
|||||||
* Add compiled cmake-mode.elc to load-path and do not barf in emacs if
|
* Add compiled cmake-mode.elc to load-path and do not barf in emacs if
|
||||||
cmake-data was removed but not purged. Thanks to Kevin Ryde.
|
cmake-data was removed but not purged. Thanks to Kevin Ryde.
|
||||||
(Closes: #710573)
|
(Closes: #710573)
|
||||||
|
* Remove the whole emacs compiled directory rather than just .elc file.
|
||||||
|
Thanks to Kevin Ryde. (Closes: #710572)
|
||||||
|
|
||||||
-- Modestas Vainius <modax@debian.org> Sun, 03 Nov 2013 12:28:06 +0200
|
-- Modestas Vainius <modax@debian.org> Sun, 03 Nov 2013 12:28:06 +0200
|
||||||
|
|
||||||
|
4
debian/cmake-data.emacsen-remove
vendored
4
debian/cmake-data.emacsen-remove
vendored
@ -3,9 +3,9 @@ set -e
|
|||||||
|
|
||||||
FLAVOR=$1
|
FLAVOR=$1
|
||||||
PACKAGE=cmake-data
|
PACKAGE=cmake-data
|
||||||
ELCFILE=cmake-mode.elc
|
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||||
|
|
||||||
if [ ${FLAVOR} != emacs ]; then
|
if [ ${FLAVOR} != emacs ]; then
|
||||||
echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
|
echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
|
||||||
rm -f /usr/share/${FLAVOR}/site-lisp/${ELCFILE}
|
rm -rf "${ELCDIR}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user