Sorry,
I forgot to CC the list.
Thanks,
--
Davide Giovanni Maria Salvetti
W: http://www.linux.it/~salve/
OpenPGP (GPG) Key ID: 939686D5
--- Begin Message ---
>>>>> PSG == Peter S Galbraith [2001-1-30]
PSG> Another way is to check for the existance of the related emacs
PSG> binary.
What about this (bash) shell code?
>----------------------------------------------------------------------<
clean_old_cruft () {
rm -f /usr/share/emacs/$1/site-lisp/mailcrypt/CompilationLog.gz
rmdir --ignore-fail-on-non-empty --parents \
/usr/share/emacs/$1/site-lisp/mailcrypt/
}
## Note that /usr/share/emacs/site-lisp/mailcrypt is _not_ enclosed in the
## following pattern, and it shouldn't be.
for i in /usr/share/emacs/*/site-lisp/mailcrypt/; do
i=${i#/usr/share/emacs/}
i=${i%/site-lisp/mailcrypt/}
test -e /usr/bin/emacs-$i || clean_old_cruft $i
done
>----------------------------------------------------------------------<
Seems to work for me, so I plan to solve this bug this way. Comments?
I'm not familiar with xemacs, but then I don't need it: mailcrypt
depends on GNU emacsen only.
Thanks,
--
Davide Giovanni Maria Salvetti
W: http://www.linux.it/~salve/
OpenPGP (GPG) Key ID: 939686D5
--- End Message ---