nix-files/pkgs/additional/sane-scripts/src/sane-private-do

12 lines
179 B
Bash
Executable File

#!/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