#!/bin/bash
-# First argument of this script is the package name
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
+source ../functions/main
SRCDIR="./hv-utilities"
PREFIX="/usr/local"
install -v ${SRCDIR}/${program} ${BINDIR}
done
+# Install fcrontab for rotatelogs
+echo "# Rotate logs every day at 00:05" > /etc/fcron/fcron.d/rotatelogs
+echo "&mail(false) 05 00 * * * ${BINDIR}/rotatelogs" >> /etc/fcron/fcron.d/rotatelogs
+
exit $?