-create-pypo-user scripts missing an "import sys"
-airtime-uninstall will now quit upon the first error
This commit is contained in:
parent
4facadf521
commit
662d0ebf85
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#Cause bash script to exit if any of the installers
|
||||||
|
#return with a non-zero return value.
|
||||||
|
set -e
|
||||||
|
|
||||||
# Absolute path to this script
|
# Absolute path to this script
|
||||||
SCRIPT=`readlink -f $0`
|
SCRIPT=`readlink -f $0`
|
||||||
# Absolute directory this script is in
|
# Absolute directory this script is in
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
from subprocess import Popen, PIPE, STDOUT
|
from subprocess import Popen, PIPE, STDOUT
|
||||||
|
|
||||||
def create_user(username):
|
def create_user(username):
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
def remove_user(username):
|
def remove_user(username):
|
||||||
|
|
Loading…
Reference in New Issue