Removed 'Sendmail' dependency
This commit is contained in:
parent
eb40179a27
commit
ee03e688ea
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user