File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ A bunch of simple update scripts are run via [CustoPiZer](https://github.com/Oct
1111
1212 * ` 01-update-octoprint ` : Updates OctoPrint to the latest version
1313 * ` 02-update-boot ` : Updates bootloader and kernel to the latest version
14+ * ` 80-install-user-fix ` : Installs a compatibility layer to support renaming the ` pi ` user, if needed.
1415 * ` 99-write-build ` : Writes the build tag to ` /etc/octopiuptodate-build `
1516
1617## Can I do something like this as well?
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ export LC_ALL=C
66source /common.sh
77install_cleanup_trap
88
9+ # if we already have the user-fix installed, we don't need to do anything
10+ [ -f '/root/bin/user-fix' ] && exit 0
11+
912# we need to install virtualenv-tools3, so let's get pip and that
1013apt install -y python3-pip
1114sudo -u pi pip3 install --user virtualenv-tools3
You can’t perform that action at this time.
0 commit comments