Skip to content

Commit

Permalink
hide error message
Browse files Browse the repository at this point in the history
  • Loading branch information
openoms committed May 6, 2023
1 parent 509d2b4 commit ec71440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home.admin/config.scripts/bonus.specter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ $# -gt 1 ]; then
fi

function check_and_install_python310() {
if ! /home/specter/.env/bin/python3 --version | grep -q "3.10"; then
if ! /home/specter/.env/bin/python3 --version 2>/dev/null | grep -q "3.10"; then
echo "# --> Python 3.10 is not installed. Installing it now."
# Install the required packages to add a PPA
sudo apt install software-properties-common gnupg2 -y
Expand Down

0 comments on commit ec71440

Please sign in to comment.