Skip to content

fix: removes common.sh from image #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/end_chroot_script
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# EditBase script
# Basic and mandatory settings for the base of an OctoPi customization run
# Written by Gina Haeussge <gina at octoprint dot org>,
# Written by Gina Haeussge <gina at octoprint dot org>,
# based on work by Guy Sheffer <guysoft at gmail dot com>
# GPL V3
########
Expand All @@ -22,6 +22,11 @@ then
rm -r /home/"${BASE_USER}"/.pydistutils.cfg
fi

# Remove common.sh after build (https://github.com/OctoPrint/CustoPiZer/issues/13)
if [ -f "/common.sh" ]; then
rm -f /common.sh
fi

#cleanup
apt-get clean
apt-get autoremove -y