Accepting request 36948 from home:oertel:branches:openSUSE:Factory
Copy from home:oertel:branches:openSUSE:Factory/emacs via accept of submit request 36948 revision 4. Request was accepted with message: forward to factory OBS-URL: https://build.opensuse.org/request/show/36948 OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=29
This commit is contained in:
parent
7b401398af
commit
0c211f11d8
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 5 18:32:53 CEST 2010 - ro@suse.de
|
||||||
|
|
||||||
|
- make emacs wrapper script a little more smart
|
||||||
|
check if default toolkit is installed, else use fallbacks
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 4 15:39:02 CEST 2010 - ro@suse.de
|
Sun Apr 4 15:39:02 CEST 2010 - ro@suse.de
|
||||||
|
|
||||||
|
@ -457,7 +457,16 @@ cat > %{buildroot}/usr/bin/emacs <<-"EOF"
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Possible values are nox, gtk, or x11
|
# Possible values are nox, gtk, or x11
|
||||||
: ${EMACS_TOOLKIT:=gtk}
|
: ${EMACS_TOOLKIT:=gtk}
|
||||||
|
if test -e ${0}-${EMACS_TOOLKIT} ; then
|
||||||
exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"}
|
exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"}
|
||||||
|
elif test -e ${0}-x11 ; then
|
||||||
|
exec -a ${0} ${0}-x11 ${1+"$@"}
|
||||||
|
elif test -e ${0}-nox ; then
|
||||||
|
exec -a ${0} ${0}-nox ${1+"$@"}
|
||||||
|
else
|
||||||
|
echo "no emacs binary found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
EOF
|
EOF
|
||||||
%endif
|
%endif
|
||||||
chmod 0755 %{buildroot}/usr/bin/emacs
|
chmod 0755 %{buildroot}/usr/bin/emacs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user