Correct typo
This commit is contained in:
parent
f7ccf496a8
commit
fdc9025463
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user