Remove unnecessary touching of live filesystem in flex-2.5.11

This commit is contained in:
fosslinux 2024-01-12 22:15:09 +11:00
parent c0485bce2f
commit 6901877837
1 changed files with 0 additions and 11 deletions

View File

@ -14,14 +14,3 @@ src_prepare() {
src_compile() {
make -j1 PREFIX="${PREFIX}"
}
src_install() {
if test -d /lex; then
# Remove lex, later make install will symlink lex to flex
rm -rf /lex
rm -f "${PREFIX}/bin/lex"
rm -f "${PREFIX}/lib/mes/libl.a"
fi
default
}