Description
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")" && sudo systemmgr install installer
OR
systemmgr update logrotate
apt install logrotate
yum install logrotate
pacman -S logrotate
brew install logrotate
APPDIR="/usr/local/etc/$APPNAME"
git clone https://github.com/systemmgr/logrotate "$APPDIR"
cp -Rfv "$APPDIR/etc/." "$HOME/.config/logrotate/"
[ -d "$APPDIR/bin" ] && cp -Rfv "$APPDIR/bin/." "$HOME/.local/bin/"