1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

working notice

This commit is contained in:
EliterScripts 2019-04-09 22:01:45 -07:00
parent 6730b83875
commit 0a7d39bc5e
3 changed files with 14 additions and 6 deletions

View File

@ -0,0 +1,7 @@
import subprocess
def download_announcements( ignorePrivacy=False ):
if( (ignorePrivacy == True) or ( ) ):
f =
subprocess.call("pullAnnouncements.sh", shell=True)

View File

@ -0,0 +1,5 @@
#!/bin/bash
cd_command=`cat /usr/local/bin/mailinabox |grep cd`
if[[cd_command]]

View File

@ -25,9 +25,7 @@ if [ -z "${NONINTERACTIVE:-}" ]; then
if [ -z "${I_AGREE_MAILINABOX:-}" ]; then
is_config_agreed=$( check_config_agreed && echo "true" || echo "false")
if [ "$is_config_agreed" -eq "false"]; then
if [ "$(check_config_agreed; echo $?)" -eq "1"]; then
#makes sure the user is aware of our legal stuff.
message_box "Mail-in-a-Box Legal Notice" \
@ -47,9 +45,7 @@ if [ -z "${NONINTERACTIVE:-}" ]; then
I_AGREE_MAILINABOX=$(/bin/true)
else
is_config_agreed=$( check_config_agreed && echo "true" || echo "false")
if [ "$is_config_agreed" -eq "true"]; then
if [ "$(check_config_agreed; echo $?)" -eq "0"]; then
I_AGREE_MAILINABOX=$(/bin/true)
fi