fix transmute env

This commit is contained in:
tomasr committed 2026-08-14 12:41:38 +02:00
1 parent 444087032b
commit bb290a56b3
4 files changed
+19 -9

No files matched your search

+15 -5
View File
@@ -150,15 +150,25 @@ if [ ! -f "/home/$USERNAME/$REPO_DIR/.flatnotes.env" ]; then
chmod 600 \
"/home/$USERNAME/$REPO_DIR/.flatnotes.env"
if [ ! -f "/home/$USERNAME/$REPO_DIR/.flatnotes.env" ]; then
cp "/home/$USERNAME/$REPO_DIR/.flatnotes.env.example" \
"/home/$USERNAME/$REPO_DIR/.flatnotes.env"
if [ ! -f "/home/$USERNAME/$REPO_DIR/.transmute.env" ]; then
cp "/home/$USERNAME/$REPO_DIR/.transmute.env.example" \
"/home/$USERNAME/$REPO_DIR/.transmute.env"
chown "$USERNAME:$USERNAME" \
"/home/$USERNAME/$REPO_DIR/.flatnotes.env"
"/home/$USERNAME/$REPO_DIR/.transmute.env"
chmod 600 \
"/home/$USERNAME/$REPO_DIR/.transmute.env"
if [ ! -f "/home/$USERNAME/$REPO_DIR/.env" ]; then
cp "/home/$USERNAME/$REPO_DIR/.env.example" \
"/home/$USERNAME/$REPO_DIR/.env"
chown "$USERNAME:$USERNAME" \
"/home/$USERNAME/$REPO_DIR/.env"
chmod 600 \
"/home/$USERNAME/$REPO_DIR/.flatnotes.env"
"/home/$USERNAME/$REPO_DIR/.env"
cat <<EOF