From ff378318f68224e2568073faa364ad6a327416e8 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 1 Jul 2011 08:31:52 -0400 Subject: lsinitcpio: add optional colorized output Signed-off-by: Dave Reisner --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1079e9d..c19192e 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,9 @@ install: all -e 's|^PRESETDIR=.*|PRESETDIR=/etc/mkinitcpio.d|' \ < mkinitcpio > ${DESTDIR}/sbin/mkinitcpio - sed "s|%VERSION%|${VERSION}|g" < lsinitcpio > ${DESTDIR}/bin/lsinitcpio + sed -e 's|\(^declare FUNCTIONS\)=.*|\1=/lib/initcpio/functions|' \ + -e 's|%VERSION%|${VERSION}|g' \ + < lsinitcpio > ${DESTDIR}/bin/lsinitcpio chmod 755 ${DESTDIR}/bin/lsinitcpio ${DESTDIR}/sbin/mkinitcpio -- cgit v1.2.3-24-g4f1b