summaryrefslogtreecommitdiffstats
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
parentf50b951805cbb9f42d26543613ad1b2d8d010e08 (diff)
Remove unneeded scripts.
-rwxr-xr-xbuild6
-rw-r--r--lilo.pkg/files1
2 files changed, 6 insertions, 1 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
diff --git a/lilo.pkg/files b/lilo.pkg/files
index 0c3bcbd..da5ca21 100644
--- a/lilo.pkg/files
+++ b/lilo.pkg/files
@@ -1,2 +1 @@
/sbin/
-/usr/sbin/