12 lines
179 B
Plaintext
12 lines
179 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
# unlock the ~/private store, run some command, and then re-lock the store
|
||
|
|
||
|
set -x
|
||
|
|
||
|
external_cmd=$@
|
||
|
|
||
|
sane-private-unlock
|
||
|
$external_cmd
|
||
|
exec sane-private-lock
|