Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: d097f49ca5
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (18 sloc) 0.707 kb
(
# Logrotate craps out without this
unset CPP
patch_it $SOURCE2 1 &&
# A few fixes for logrotate.conf
sedit 's:^dateext:#&:;s:^#compress:compress:;/^compress/acompresscmd /usr/bin/bzip2' examples/logrotate-default &&
sedit '/^compresscmd/acompressext .bz2' examples/logrotate-default &&
make RPM_OPT_FLAGS="${CFLAGS}" &&
# We don't want the status file tracked
touch /var/lib/logrotate.status &&
prepare_install &&
make install &&
mkdir -p /etc/logrotate.d &&
if [ ! -e /etc/logrotate.conf ]; then
install -m 0644 examples/logrotate-default /etc/logrotate.conf
fi &&
gather_docs examples
) > $C_FIFO 2>&1
Jump to Line
Something went wrong with that request. Please try again.