diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 14:31:52 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 21:52:24 +0200 |
commit | ff378318f68224e2568073faa364ad6a327416e8 (patch) | |
tree | ee30cedfdeb1e3c3e0fc15b59d8c5c561a5cc842 /Makefile | |
parent | f7ce8941ea55af8f2268575441030728be82d266 (diff) | |
download | mkinitcpio-ff378318f68224e2568073faa364ad6a327416e8.tar.gz mkinitcpio-ff378318f68224e2568073faa364ad6a327416e8.tar.xz |
lsinitcpio: add optional colorized output
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |