diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 02:12:31 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 02:12:31 +0900 |
| commit | 17c7070beb1d6c152e15b79dcf72ae4bffc8ce85 (patch) | |
| tree | 46641bffada784f34fe1b7ecb25d41077c1c0c49 /ar/.local/bin | |
| parent | 23381745ee33f668a5300a8ef340716acaedadb0 (diff) | |
modified bin/ecrypt
Diffstat (limited to 'ar/.local/bin')
| -rwxr-xr-x | ar/.local/bin/ecrypt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ar/.local/bin/ecrypt b/ar/.local/bin/ecrypt index e13c033..4240c71 100755 --- a/ar/.local/bin/ecrypt +++ b/ar/.local/bin/ecrypt @@ -27,6 +27,9 @@ attempt_mount() { targets="$HOME/.secret" mounts="$HOME/Private" pw="default" +[ -d "$targets" ] || mkdir -p "$targets" +[ -d "$mounts" ] || mkdir -p "$mounts" + set -- $mounts # Set positional parameters to mounts i=1 for target in $targets; do |
