We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dd296c commit 4f38df7Copy full SHA for 4f38df7
scripts/80-install-user-fix
@@ -6,6 +6,9 @@ export LC_ALL=C
6
source /common.sh
7
install_cleanup_trap
8
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
+
12
# we need to install virtualenv-tools3, so let's get pip and that
13
apt-get install -y python3-pip
14
sudo -u pi pip3 install --user virtualenv-tools3
@@ -14,4 +17,4 @@ cp /files/user-fix /root/bin/user-fix
17
chmod +x /root/bin/user-fix
15
18
16
19
cp /files/user-fix.service /etc/systemd/system/user-fix.service
-systemctl enable user-fix.service
20
+systemctl enable user-fix.service
0 commit comments