Removed 'Sendmail' dependency

This commit is contained in:
clamsawd 2015-10-29 22:21:43 +01:00
parent eb40179a27
commit ee03e688ea
3 changed files with 3 additions and 19 deletions

View File

@ -7,7 +7,7 @@
# Licensed by GPL v.3 | # Licensed by GPL v.3 |
# Last update: 29-10-2015 | # Last update: 29-10-2015 |
# | # |
# Dependences: curl, wget, sendEmail, libio-socket-ssl-perl | # Dependences: curl or wget |
# Compatible with Python 3.x | # Compatible with Python 3.x |
# -------------------------------------------------------------- # --------------------------------------------------------------
version="0.7-beta" version="0.7-beta"

View File

@ -7,7 +7,7 @@
# Licensed by GPL v.3 | # Licensed by GPL v.3 |
# Last update: 29-10-2015 | # Last update: 29-10-2015 |
# | # |
# Dependences: curl, wget, sendEmail, libio-socket-ssl-perl | # Dependences: curl or wget |
# Compatible with Python 3.x | # Compatible with Python 3.x |
# -------------------------------------------------------------- # --------------------------------------------------------------
version="0.7-beta" version="0.7-beta"
@ -87,22 +87,6 @@ else:
createip2eIPcf() createip2eIPcf()
writeip2eIPcf() writeip2eIPcf()
#Check if sendEmail is installed
from subprocess import PIPE, Popen
try:
sendEmailCheck = Popen(['sendEmail', '-q'], stdout=PIPE, stderr=PIPE)
sendEmailCheck.stderr.close()
except:
ClearScreen()
print ("")
print ("Error: 'sendEmail' is not installed!")
print ("")
print ("Help:")
print (" * http://caspian.dotconf.net/menu/Software/SendEmail/")
print ("")
PauseExit=input("Press ENTER to exit ")
exit(1)
#Check if curl is installed #Check if curl is installed
try: try:
curlCheck = Popen(['curl', '--version'], stdout=PIPE, stderr=PIPE) curlCheck = Popen(['curl', '--version'], stdout=PIPE, stderr=PIPE)

View File

@ -7,7 +7,7 @@
# Licensed by GPL v.3 | # Licensed by GPL v.3 |
# Last update: 29-10-2015 | # Last update: 29-10-2015 |
# | # |
# Dependences: curl, wget, sendEmail, libio-socket-ssl-perl | # Dependences: curl or wget |
# Compatible with Python 3.x | # Compatible with Python 3.x |
# -------------------------------------------------------------- # --------------------------------------------------------------
version="0.7-beta" version="0.7-beta"