Skip to content

Commit 52c8ea6

Browse files
authored
Merge pull request #14 from KwadFan/fix/cleancommon.sh
fix: removes common.sh from image
2 parents 0211d58 + 024c3aa commit 52c8ea6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/end_chroot_script

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# EditBase script
33
# Basic and mandatory settings for the base of an OctoPi customization run
4-
# Written by Gina Haeussge <gina at octoprint dot org>,
4+
# Written by Gina Haeussge <gina at octoprint dot org>,
55
# based on work by Guy Sheffer <guysoft at gmail dot com>
66
# GPL V3
77
########
@@ -22,6 +22,11 @@ then
2222
rm -r /home/"${BASE_USER}"/.pydistutils.cfg
2323
fi
2424

25+
# Remove common.sh after build (https://github.com/OctoPrint/CustoPiZer/issues/13)
26+
if [ -f "/common.sh" ]; then
27+
rm -f /common.sh
28+
fi
29+
2530
#cleanup
2631
apt-get clean
2732
apt-get autoremove -y

0 commit comments

Comments
 (0)