xfce4-session: fix startxfce4 to require /bin/bash instead.

This commit is contained in:
Juan RP 2014-07-28 12:44:51 +02:00
parent 16caf4d8bc
commit 8690954b86

View file

@ -1,7 +1,7 @@
# Template file for 'xfce4-session' # Template file for 'xfce4-session'
pkgname=xfce4-session pkgname=xfce4-session
version=4.10.1 version=4.10.1
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
hostmakedepends="pkg-config intltool xfce4-dev-tools gettext-devel" hostmakedepends="pkg-config intltool xfce4-dev-tools gettext-devel"
@ -31,6 +31,10 @@ fi
pre_configure() { pre_configure() {
NOCONFIGURE=1 xdt-autogen NOCONFIGURE=1 xdt-autogen
} }
post_install() {
# startxfce4 needs bash.
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4
}
xfce4-session-devel_package() { xfce4-session-devel_package() {
depends="libxfce4ui-devel xfconf-devel ${sourcepkg}>=${version}_${revision}" depends="libxfce4ui-devel xfconf-devel ${sourcepkg}>=${version}_${revision}"