Skip to content

Commit

Permalink
Update erpnext_install.sh
Browse files Browse the repository at this point in the history
changed /home/$(echo $USER) to $(echo $HOME)
  • Loading branch information
suchetha authored Dec 8, 2024
1 parent d982b9c commit c93a38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ sleep 1
# Change directory to frappe-bench
cd frappe-bench && \

sudo chmod -R o+rx /home/$(echo $USER)
sudo chmod -R o+rx $(echo $HOME)

bench new-site $site_name --db-root-password $sqlpasswrd --admin-password $adminpasswrd

Expand Down Expand Up @@ -440,7 +440,7 @@ case "$continue_prod" in


# Now to make sure the environment is fully setup
sudo chmod 755 /home/$(echo $USER)
sudo chmod 755 $(echo $HOME)
sleep 3
printf "${GREEN}Production setup complete! "
printf '\xF0\x9F\x8E\x86'
Expand Down

0 comments on commit c93a38c

Please sign in to comment.