mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-10-02 18:14:28 +02:00
fix transmute env
This commit is contained in:
1 parent
444087032b
commit
bb290a56b3
4 files changed
+19
-9
No files matched your search
+15
-5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user