added output var
This commit is contained in:
@@ -3,7 +3,7 @@ mbranch=master
|
||||
if [ -z ${password+x} ]; then echo 'Error $password is not set'; fi
|
||||
|
||||
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] ; then
|
||||
if [ -z ${DEBIAN_FRONTEND+x} ]; then echo 'dpkg env not set' ; else CurDebFrond="$DEBIAN_FRONTEND"; fi #checking and saving DEBIAN_FRONTEND
|
||||
if [ -z ${DEBIAN_FRONTEND+x} ]; then echo 'dpkg env not set' > $OUTPUT 2>&1 ; else CurDebFrond="$DEBIAN_FRONTEND"; fi #checking and saving DEBIAN_FRONTEND
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $password"
|
||||
|
||||
Reference in New Issue
Block a user