Skip to content

Commit 48b67d9

Browse files
authored
Update directoryfix.sh
fix for username not equal pi
1 parent 1f146f0 commit 48b67d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.templates/python/directoryfix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
if [ ! -d ./volumes/python/app ]; then
66
sudo mkdir -p ./volumes/python/app
7-
sudo chown -R pi:pi ./volumes/python
7+
sudo chown -R $(whoami):$(whoami) ./volumes/python
88
echo 'print("hello world")' >./volumes/python/app/app.py
99

1010
fi

0 commit comments

Comments
 (0)