summaryrefslogtreecommitdiff
path: root/ar/.local
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-01-11 02:12:31 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-01-11 02:12:31 +0900
commit17c7070beb1d6c152e15b79dcf72ae4bffc8ce85 (patch)
tree46641bffada784f34fe1b7ecb25d41077c1c0c49 /ar/.local
parent23381745ee33f668a5300a8ef340716acaedadb0 (diff)
modified bin/ecrypt
Diffstat (limited to 'ar/.local')
-rwxr-xr-xar/.local/bin/ecrypt3
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