Clon1998 / mobileraker_companion

Companion for mobileraker, enabling push notification.
MIT License
209 stars 12 forks source link

script: use sudo when calling apt #34

Closed mkuf closed 1 year ago

mkuf commented 1 year ago

https://github.com/Clon1998/mobileraker_companion/pull/31 introduced a change to the install script to install dependencies via apt.
If the script is run as an unprivileged user, dependencies can not be installed and the script fails.
Sudo should therefore be used to call apt.

This fixes https://github.com/Clon1998/mobileraker_companion/issues/32