doker updated jor libre install
This commit is contained in:
@@ -615,7 +615,7 @@ def install_libreoffice():
|
||||
flash('Installation script not found', 'danger')
|
||||
return redirect(url_for('admin.dependencies'))
|
||||
|
||||
result = subprocess.run(['sudo', 'bash', script_path],
|
||||
result = subprocess.run(['sudo', '-n', script_path],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=300)
|
||||
@@ -652,7 +652,7 @@ def install_emoji_fonts():
|
||||
flash('Installation script not found', 'danger')
|
||||
return redirect(url_for('admin.dependencies'))
|
||||
|
||||
result = subprocess.run(['sudo', 'bash', script_path],
|
||||
result = subprocess.run(['sudo', '-n', script_path],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=180)
|
||||
|
||||
Reference in New Issue
Block a user