Kill /usr/share/getopt

This directory had example scripts for util-linux's getopt.  They count
as documentation and don't belong on an embedded rootfs.

This also reduces the diff to RescueOS v1.1; this directory was
(presumably manually) removed there as well.

Also cleanup post-build.sh a bit while we're at it.
This commit is contained in:
Daniel Gnoutcheff 2015-03-29 13:30:17 -04:00
부모 7fffd28a1e
커밋 50185d5620
1개의 변경된 파일8개의 추가작업 그리고 5개의 파일을 삭제

파일 보기

@ -4,11 +4,14 @@ set -e
target="$1"
delfiles=" \
$target/etc/init.d/rcK \
$target/etc/init.d/S20urandom \
$target/etc/init.d/S40network \
delfiles="
$target/etc/init.d/rcK
$target/etc/init.d/S20urandom
$target/etc/init.d/S40network
$target/etc/securetty"
for file in $delfiles ; do
[ -e "$file" ] && rm "$file" || true
[ ! -e "$file" ] || rm "$file"
done
[ ! -e "$target/usr/share/getopt" ] || rm -r "$target/usr/share/getopt"