summaryrefslogtreecommitdiff
path: root/ar/.local/bin/ecrypt
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
commit0ec7fe0e214e5bce56f7827784ffca094456d379 (patch)
tree166e3612849fa80b7824c4ae27d00b501e72e0a0 /ar/.local/bin/ecrypt
parent6598e03e620964811a54a83776e8cd8c7ec2e743 (diff)
modified bin/ecrypt
Diffstat (limited to 'ar/.local/bin/ecrypt')
-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