Skip to content

Commit 6b10cc9

Browse files
author
Richard Siomporas
committed
Minor tweaks to Dockerfile and controller reset script
1 parent f54d81e commit 6b10cc9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,10 @@ RUN cd RetroPie-Setup \
4545

4646
# Install USB controller resetting utility
4747
COPY utilities/reset_controller.py /opt/retropie/configs/all/reset_controller.py
48-
RUN chmod +x /opt/retropie/configs/all/reset_controller.py
4948
COPY utilities/reset_controller.py /opt/retropie/configs/all/reset_controller.sh
50-
RUN chmod +x /opt/retropie/configs/all/reset_controller.sh
5149

5250
# And install script hooks
5351
COPY utilities/runcommand-onstart.sh /opt/retropie/configs/all/runcommand-onstart.sh
54-
RUN chmod +x /opt/retropie/configs/all/runcommand-onstart.sh
5552

5653
# Edit this file in your persistent storage to use all or part of the name provided from "lsusb" to reset the controller on each start
5754
RUN touch /opt/retropie/configs/all/controller_usb_ids && chown pi:pi /opt/retropie/configs/all/controller_usb_ids

utilities/reset_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
print("Should have reset " + vendor+ ":" + id)
2121

2222
except Exception, msg:
23-
print "failed to reset device:", msg3
23+
print "failed to reset device:", msg
2424

2525

2626

0 commit comments

Comments
 (0)