Skip to content

Commit b21e645

Browse files
committed
Since the script is run with sudo, there is no need for other sudos.
1 parent e068ce3 commit b21e645

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup_arm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/env bash -e
22
# Raspbian setup
3-
sudo apt-get update -y
4-
sudo apt-get install -y python3-libusb1 python3-pip git
3+
apt-get update -y
4+
apt-get install -y python3-libusb1 python3-pip git
55
pip3 install git+https://github.com/orionrobots/python_usb_robot_arm
6-
sudo cat <<END >/etc/udev/rules.d/42-usb-arm-permissions.rules
6+
cat <<END >/etc/udev/rules.d/42-usb-arm-permissions.rules
77
SUBSYSTEM=="usb", ATTR{idVendor}=="1267", ATTR{idProduct}=="0000", MODE:="0666"
88
END

0 commit comments

Comments
 (0)