Skip to content

Commit

Permalink
removed check userNotPi
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Dec 2, 2023
1 parent a60e657 commit 1dad4e5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 47 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test_docker_debian_codename_sub_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,8 @@ jobs:
strategy:
fail-fast: false
matrix:
username: ['pi']
username: ['hans']
test_script: ['run_install_common.sh', 'run_install_faststartup.sh', 'run_install_webapp_local.sh', 'run_install_webapp_download.sh']
include:
- username: hans
test_script: run_install_user_not_pi.sh

steps:
- name: Set up QEMU
Expand Down
25 changes: 0 additions & 25 deletions ci/installation/run_install_user_not_pi.sh

This file was deleted.

18 changes: 0 additions & 18 deletions installation/install-jukebox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,7 @@ _check_os_type() {
fi
}

# currently the user 'pi' is mandatory
# https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1785
_check_user() {
if [ "${CURRENT_USER}" != "pi" ]; then
echo
echo "ERROR: User must be 'pi'!"
echo " Other usernames are currently not supported."
echo " Please check the wiki for further information"
exit 2
fi

if [ "${HOME_PATH}" != "/home/pi" ]; then
echo
echo "ERROR: HomeDir must be '/home/pi'!"
echo " Other usernames are currently not supported."
echo " Please check the wiki for further information"
exit 2
fi

if [ ! -d "${HOME_PATH}" ]; then
echo
echo "ERROR: HomeDir ${HOME_PATH} does not exist."
Expand Down

0 comments on commit 1dad4e5

Please sign in to comment.