Skip to content

Commit

Permalink
remove configured distdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hiepler committed Sep 1, 2023
1 parent 0ddf5e1 commit 202599f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-plugins/run
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function rpi_run_on_first_login() {
# prepare script
if ! [[ -f "${RPI_ROOT}/${once_script}" ]] ; then
# call script from .bashrc
rpi_run_on_login "if [[ -f \"${once_script}\" ]] ; then echo \"executing first-time setup...\" ; time /bin/bash -c \"${once_script} && rm ${once_script} && rm -rf /home/pi/bootstrap-dist\" ; echo \"Done. Please reboot now.\" ; fi"
rpi_run_on_login "if [[ -f \"${once_script}\" ]] ; then echo \"executing first-time setup...\" ; time /bin/bash -c \"${once_script} && rm ${once_script} && rm -rf ${RPI_IMG_DISTDIR}\" ; echo \"Done. Please reboot now.\" ; fi"
# once-script dir existing?
[[ -d "${RPI_ROOT}/$(dirname "${once_script}")" ]] || mkdir -p "${RPI_ROOT}/$(dirname "${once_script}")"
# create once-script
Expand Down

0 comments on commit 202599f

Please sign in to comment.