Correct typo

This commit is contained in:
Mario Fetka 2023-01-22 10:40:43 +01:00
parent f7ccf496a8
commit fdc9025463
2 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,7 @@ if [ $ERROR_ENABLE = "true" ]; then
touch ${MYSTIC_DIR}/logs/errors.${TOMORROW}.log
ln -sf errors.${NOW}.log ${MYSTIC_DIR}/logs/errors.log
[ -f /${MYSTIC_DIR}/logs/errors.${YESTERDAY}.log ] && gzip -9 ${MYSTIC_DIR}/logs/errors.${YESTERDAY}.log
find ${MYSTIC_DIR}/logs/ -type f -mtime +${ERROR_KEEP} -name 'error.*' -exec rm {} \;
find ${MYSTIC_DIR}/logs/ -type f -mtime +${ERROR_KEEP} -name 'errors.*' -exec rm {} \;
fi
if [ $MRCCHAT_ENABLE = "true" ]; then

View File

@ -14,6 +14,8 @@ MSDIR="/opt/mystic"
TMP_DIR=$(mktemp -d)
ARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
apt install lsb-release -y &>/dev/null
DIST=$(lsb_release -i -s)
CODENAME=$(lsb_release -c -s)