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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user