We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d374b2 commit ea5c6c9Copy full SHA for ea5c6c9
openplotterSettings/backlight.py
@@ -18,7 +18,7 @@
18
import os, sys
19
20
if sys.argv[1] == 'install':
21
- os.system('pip3 install rpi_backlight -U')
+ os.system('pip3 install rpi_backlight -U --break-system-packages')
22
23
udevFile = '/etc/udev/rules.d/backlight-permissions.rules'
24
if not os.path.exists(udevFile):
@@ -33,7 +33,7 @@
33
34
if sys.argv[1] == 'uninstall':
35
os.system('rpi-backlight -b 100')
36
- os.system('pip3 uninstall -y rpi_backlight')
+ os.system('pip3 uninstall -y rpi_backlight --break-system-packages')
37
os.system('rm -f /etc/udev/rules.d/backlight-permissions.rules')
38
os.system('udevadm control --reload-rules && udevadm trigger')
39
os.system('rm -f /usr/share/applications/openplotter-brightness.desktop')
0 commit comments