parent
a4db467669
commit
e292369ee2
2 changed files with 18 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||||||
|
#!/usr/bin/env python3 |
||||||
|
|
||||||
|
# Any exception causes return value to be not zero, which is sufficient. |
||||||
|
|
||||||
|
import sys |
||||||
|
|
||||||
|
fc = open('/etc/apt/sources.list').read() |
||||||
|
if 'artful' not in fc: |
||||||
|
sys.exit(1) |
Loading…
Reference in new issue