File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- USERNAME=${1:- codespace }
3
+ USERNAME=${1:- $(id -un) }
4
4
ID_OS=$( grep ' ^ID=' < /etc/os-release | cut -d ' =' -f2)
5
5
FAILED_COUNT=0
6
6
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SCRIPT_FOLDER_NAME=$(dirname $0)
4
4
cd ${SCRIPT_FOLDER_NAME} || exit
5
5
6
6
# shellcheck source=/dev/null
7
- source test-utils.sh codespace
7
+ source test-utils.sh
8
8
9
9
if [ " ${ID_OS} " = " ubuntu" ]; then
10
10
package_list_debian=" apt-utils \
@@ -35,17 +35,5 @@ check "shfmt" shfmt --version
35
35
check " shellcheck" shellcheck --version
36
36
check " editorconfig" ec --version
37
37
check " trivy" trivy --version
38
- if [ " ${ID_OS} " = " ubuntu" ]; then
39
- python_system_package_list_debian=" python3 \
40
- python3-dev \
41
- python3-pip \
42
- python3-venv"
43
- checkOSPackages " python-system-packages" ${python_system_package_list_debian}
44
- fi
45
- check " python" python --version
46
- check " python3" python3 --version
47
- check " python3 ascii art" python3 -c' from art import *; tprint("Python3")'
48
- check " python3 file" python3 " $( pwd) " /test.py
49
- check " pipx directory" [ -d " /usr/local/pipx/bin" ] && echo " Pipx directory Exists"
50
38
51
39
reportResults
You can’t perform that action at this time.
0 commit comments