Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Nov 17, 2023
1 parent 6baaaab commit aa04f03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions installation/routines/setup_mpd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,9 @@ _mpd_check () {
verify_file_contains_string "${AUDIOFOLDERS_PATH}" "${MPD_CONF_PATH}"
verify_file_contains_string "${PLAYLISTS_PATH}" "${MPD_CONF_PATH}"

# test ! "$DOCKER_RUNNING" == true && check_service_state mpd.socket inactive # not valid in Docker test
# test ! "$DOCKER_RUNNING" == true && check_service_state mpd inactive # not valid in Docker test
check_service_enablement mpd.socket disabled
check_service_enablement mpd disabled

# check_service_state mpd active --user
check_service_enablement mpd.socket enabled --user
check_service_enablement mpd enabled --user
}
Expand Down Expand Up @@ -86,8 +83,6 @@ setup_mpd() {
systemctl --user daemon-reload
systemctl --user enable mpd.socket
systemctl --user enable mpd
# Start MPD now, but not the socket: MPD is already started and we expect a reboot anyway
# systemctl --user start mpd

_mpd_check
fi
Expand Down
2 changes: 1 addition & 1 deletion installation/routines/update_raspi_os.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
update_raspi_os() {
echo "Updating Raspberry Pi OS" | tee /dev/fd/3

sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade && sudo apt-get -qq -y autoremove || exit_on_error "Failed to Update Raspberry Pi OS"
sudo apt-get -qq -y update && sudo apt-get -qq -y full-upgrade && sudo apt-get -qq -y autoremove # || exit_on_error "Failed to Update Raspberry Pi OS"

echo "DONE: update_raspi_os"
}

0 comments on commit aa04f03

Please sign in to comment.