You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/st2bootstrap-deb.sh
+8-17Lines changed: 8 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -126,32 +126,23 @@ setup_args() {
126
126
sudo apt-get update > /dev/null 2>/dev/null
127
127
# check if python3.6 is available
128
128
if (! apt-cache show python3.6 2> /dev/null | grep 'Package:'> /dev/null);then
129
-
if [[ "$U16_ADD_INSECURE_PY3_PPA"="1" ]];then
130
-
choice=y
131
-
else
129
+
if [[ "$U16_ADD_INSECURE_PY3_PPA"="0" ]];then
132
130
echo""
133
131
echo"WARNING!"
134
132
echo"The python3.6 package is a required dependency for the StackStorm st2 package but that is not installable from any of the default Ubuntu 16.04 repositories."
135
133
echo"We recommend switching to Ubuntu 18.04 LTS (Bionic) as a base OS. Support for Ubuntu 16.04 will be removed with future StackStorm versions."
136
134
echo""
137
135
echo"Alternatively we'll try to add python3.6 from the 3rd party 'deadsnakes' repository: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa."
138
-
echo"By continuing you are aware of the support and security risks associated with using unofficial 3rd party PPA repository, and you understand that StackStorm does NOT provide ANY support for python3.6 packages on Ubuntu 16.04."
139
136
echo""
140
-
echo"To bypass this check in future, you can provide the following flag: --u16-add-insecure-py3-ppa"
137
+
echo"You can provide the following flag os use python3.6 from the 'deadsnakes'repository: --u16-add-insecure-py3-ppa"
138
+
echo""
139
+
echo"By using the flag you are aware of the support and security risks associated with using unofficial 3rd party PPA repository, and you understand that StackStorm does NOT provide ANY support for python3.6 packages on Ubuntu 16.04."
141
140
echo""
142
-
echo"Press [y] to continue or [n] to cancel adding it: "
Copy file name to clipboardExpand all lines: scripts/st2bootstrap-deb.template.sh
+8-17Lines changed: 8 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -118,32 +118,23 @@ setup_args() {
118
118
sudo apt-get update > /dev/null 2>/dev/null
119
119
# check if python3.6 is available
120
120
if (! apt-cache show python3.6 2> /dev/null | grep 'Package:'> /dev/null);then
121
-
if [[ "$U16_ADD_INSECURE_PY3_PPA"="1" ]];then
122
-
choice=y
123
-
else
121
+
if [[ "$U16_ADD_INSECURE_PY3_PPA"="0" ]];then
124
122
echo""
125
123
echo"WARNING!"
126
124
echo"The python3.6 package is a required dependency for the StackStorm st2 package but that is not installable from any of the default Ubuntu 16.04 repositories."
127
125
echo"We recommend switching to Ubuntu 18.04 LTS (Bionic) as a base OS. Support for Ubuntu 16.04 will be removed with future StackStorm versions."
128
126
echo""
129
127
echo"Alternatively we'll try to add python3.6 from the 3rd party 'deadsnakes' repository: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa."
130
-
echo"By continuing you are aware of the support and security risks associated with using unofficial 3rd party PPA repository, and you understand that StackStorm does NOT provide ANY support for python3.6 packages on Ubuntu 16.04."
131
128
echo""
132
-
echo"To bypass this check in future, you can provide the following flag: --u16-add-insecure-py3-ppa"
129
+
echo"You can provide the following flag os use python3.6 from the 'deadsnakes'repository: --u16-add-insecure-py3-ppa"
130
+
echo""
131
+
echo"By using the flag you are aware of the support and security risks associated with using unofficial 3rd party PPA repository, and you understand that StackStorm does NOT provide ANY support for python3.6 packages on Ubuntu 16.04."
133
132
echo""
134
-
echo"Press [y] to continue or [n] to cancel adding it: "
0 commit comments