1
0
mirror of https://github.com/Rikj000/MoniGoMani.git synced 2022-03-06 00:08:05 +03:00

Added sparky support

This commit is contained in:
xwolfyxNL
2022-01-17 16:06:35 +01:00
parent e8b0d6dd63
commit dd79315663

View File

@@ -237,7 +237,7 @@ class FreqtradeCli:
if os.path.isfile(f'{target_dir}/setup.exp'):
command = f'expect {target_dir}/setup.exp'
if distro.id() in ['ubuntu', 'debian']:
if distro.id() in ['ubuntu', 'debian', 'sparky']:
command = f'echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USER-temp-root; ' \
f'{command}; sudo rm /etc/sudoers.d/$USER-temp-root'