Control: reassign -1 silversearcher-ag-el 0.46-1
Control: tags -1 + patch

On November 11, 2015 at 10:58PM -0800, acmay_deb (at acmay.org) wrote:
> Install silversearcher-ag-el for emacs23
> ERROR: install script from silversearcher-ag-el package failed

To prevent this error, please skip byte-compilation when
unsupported flavor in the emacsen-install script.

```
--- a/debian/emacsen-install
+++ b/debian/emacsen-install
@@ -8,8 +8,11 @@
 FLAVOR=$1
 PACKAGE=silversearcher-ag-el
 
-if [ ${FLAVOR} = emacs ]; then exit 0; fi
-if [ ${FLAVOR} = xemacs21 ]; then exit 0; fi
+case $FLAVOR in
+    emacs|*xemacs*|emacs23|emacs22|emacs21|emacs20|emacs19|mule2)
+    exit 0
+    ;;
+esac
 
 echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
 
```

Thanks,
--
Tatsuya Kinoshita

Attachment: pgpLYZqQvoWJS.pgp
Description: PGP signature

Reply via email to