Skip to content

Conversation

@arm4b
Copy link
Member

@arm4b arm4b commented Dec 15, 2020

As a follow-up to #681, this PR adds extra flag --u16-add-insecure-py3-ppa passed to installer to add 3rd party insecure PPA with python3 under Ubuntu Xenial.

This fixes more corner cases I just identified with different non-interactive modes, subshells, curl|bash piping and other tricky situations.

@arm4b arm4b requested a review from a team December 15, 2020 23:09
@arm4b arm4b requested review from amanda11 and blag December 15, 2020 23:21
@arm4b arm4b changed the title Add extra flag for Ubuntu 16.04 to install py3 PPA Add extra flag for Ubuntu 16.04 to install py3 PPA automatically Dec 15, 2020
@arm4b
Copy link
Member Author

arm4b commented Dec 15, 2020

@amanda11 @blag after all, an additional installer flag was necessary :)

Comment on lines +142 to +143
echo "Press [y] to continue or [n] to cancel adding it: "
read choice
Copy link
Member Author

@arm4b arm4b Dec 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI in a sub-shell environment read -p "Message" choice won't show the Message and so that was moved out as echo.

Copy link
Contributor

@amanda11 amanda11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - good to have found the extra edge cases where it didn't work.

@arm4b arm4b merged commit eeabfc3 into master Dec 16, 2020
@arm4b arm4b deleted the fix/u16-add-insecure-py3-ppa branch December 16, 2020 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants