mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
more idempotent installs
This commit is contained in:
committed by
Aiden McClelland
parent
8b1daabb05
commit
3588d0342e
@@ -37,7 +37,7 @@ impl Interfaces {
|
||||
let key = TorSecretKeyV3::generate();
|
||||
let key_vec = key.as_bytes().to_vec();
|
||||
sqlx::query!(
|
||||
"INSERT INTO tor (package, interface, key) VALUES (?, ?, ?)",
|
||||
"INSERT OR IGNORE INTO tor (package, interface, key) VALUES (?, ?, ?)",
|
||||
**package_id,
|
||||
**id,
|
||||
key_vec,
|
||||
|
||||
Reference in New Issue
Block a user