Skip to content

Commit

Permalink
Merge pull request #21 from meltaxa/dev
Browse files Browse the repository at this point in the history
Fix install script when using Docker
  • Loading branch information
meltaxa authored Mar 22, 2022
2 parents 4b828c6 + e0e990e commit e8a5132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pip_install() {
setup_usb() {
if [ ! -f /etc/udev/rules.d/99-lego.rules ]; then
echo "[INFO] Install USB device rules..."
curl -s -O https://raw.githubusercontent.com/meltaxa/musicfig/master/99-lego.rules
[[ "$DOCKER" ]] && curl -s -O https://raw.githubusercontent.com/meltaxa/musicfig/master/99-lego.rules
sudo cp ${DIR}/99-lego.rules /etc/udev/rules.d
sudo udevadm control --reload-rules && sudo udevadm trigger
fi
Expand Down

0 comments on commit e8a5132

Please sign in to comment.