summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-27 15:49:36 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-27 15:49:36 (EDT)
commit25a9990c6a2d41b3186a2d8c79a2585995b381df (patch)
tree36d75dc8c38064c65a756ba3b78cc25a9a7a2ffd /build
parentf50b951805cbb9f42d26543613ad1b2d8d010e08 (diff)
Remove unneeded scripts.
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index 4460176..f6547dd 100755
--- a/build
+++ b/build
@@ -13,6 +13,12 @@ install: build
oh-autoinstall
install -m 0755 ../install-lilo.sh dest/sbin/install-lilo
rm dest/etc/*/p*.d/* dest/etc/lilo.conf_example
+ # Remove unneeded Perl and Bash scripts.
+ set -e; \
+ for script in keytab-lilo liloconfig lilo-uuid-diskid mkrescue; do \
+ rm "dest/usr/sbin/$${script}"; \
+ rm "dest/usr/share/man/man8/$${script}.8"; \
+ done
oh-fixperms
oh-strip
oh-installfiles