Files
dnsupdate/installer/check_modules.py

13 lines
118 B
Python
Executable File

#!/usr/bin/python
import sys
try:
import dns
has = 1
except:
has = 0
if has == 1:
sys.exit(0)
else:
sys.exit(1)