i3status: detect dhcpcd in default config file.

This commit is contained in:
Juan RP 2012-12-16 09:18:56 +01:00
parent b7faf32142
commit 1278f7f207

View file

@ -1,7 +1,7 @@
# Template file for 'i3status' # Template file for 'i3status'
pkgname=i3status pkgname=i3status
version=2.5.1 version=2.5.1
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
depends="libcap-progs" depends="libcap-progs"
makedepends="asciidoc yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel" makedepends="asciidoc yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel"
@ -19,5 +19,7 @@ long_desc="
advanced users and developers." advanced users and developers."
post_install() { post_install() {
# detect dhcpcd.
sed -i -e "s#dhclient#dhcpcd#g" ${DESTDIR}/etc/i3status.conf
vinstall LICENSE 644 usr/share/licenses/${pkgname} vinstall LICENSE 644 usr/share/licenses/${pkgname}
} }