mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-24 02:37:05 +00:00
Fixed SC2006: Use $(...) notation instead of legacy backticks ...
.
This commit is contained in:
parent
830c83daa1
commit
133bae1300
@ -11,7 +11,7 @@ export LC_TYPE=en_US.UTF-8
|
|||||||
|
|
||||||
# On Mondays, i.e. once a week, send the administrator a report of total emails
|
# On Mondays, i.e. once a week, send the administrator a report of total emails
|
||||||
# sent and received so the admin might notice server abuse.
|
# sent and received so the admin might notice server abuse.
|
||||||
if [ `date "+%u"` -eq 1 ]; then
|
if [ $(date "+%u") -eq 1 ]; then
|
||||||
management/mail_log.py -t week | management/email_administrator.py "Mail-in-a-Box Usage Report"
|
management/mail_log.py -t week | management/email_administrator.py "Mail-in-a-Box Usage Report"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Use this script to make an archive of the contents of all
|
# Use this script to make an archive of the contents of all
|
||||||
# of the configuration files we edit with editconf.py.
|
# of the configuration files we edit with editconf.py.
|
||||||
for fn in `grep -hr editconf.py setup | sed "s/tools\/editconf.py //" | sed "s/ .*//" | sort | uniq`; do
|
for fn in $(grep -hr editconf.py setup | sed "s/tools\/editconf.py //" | sed "s/ .*//" | sort | uniq); do
|
||||||
echo ======================================================================
|
echo ======================================================================
|
||||||
echo $fn
|
echo $fn
|
||||||
echo ======================================================================
|
echo ======================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user