Skip to content

Commit 5d766f6

Browse files
committed
Rename 90-install-user-fix to 80-...
1 parent 0ffbf78 commit 5d766f6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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?
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export LC_ALL=C
66
source /common.sh
77
install_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
1013
apt install -y python3-pip
1114
sudo -u pi pip3 install --user virtualenv-tools3

0 commit comments

Comments
 (0)