Even more fixes for replacements.

This commit is contained in:
Storm Dragon 2025-04-10 08:13:44 -04:00
parent 8d508416c3
commit 648eb720fc

View File

@ -16,7 +16,7 @@ declare -A command=(
) )
# Variables # Variables
muttHome=~/.mutt muttHome="${HOME}/.mutt"
testMode=false testMode=false
# Process command line arguments # Process command line arguments
@ -28,7 +28,7 @@ while getopts "${args}" i ; do
h) help ;; h) help ;;
t) t)
testMode=true testMode=true
muttHome=~/mutt_test muttHome="${HOME}/mutt_test"
;; ;;
esac esac
done done
@ -226,7 +226,7 @@ initialize_directory() {
esac esac
# Replace muttHome in muttrc # Replace muttHome in muttrc
sed -i "s|\$muttHome|${muttHome}|g" "$muttHome/muttrc" sed -i "s|MUTTHOME|${muttHome}|g" "$muttHome/muttrc"
fi fi
# Create the decrypt helper script # Create the decrypt helper script