Update README.md
This commit is contained in:
parent
ffacbc9dce
commit
37c4240b25
|
@ -258,6 +258,7 @@ $ sudo systemctl start rc.local
|
|||
|
||||
```txt
|
||||
# 附註 orbit
|
||||
底下#!/bin/bash請務必要加
|
||||
#!/bin/bash
|
||||
|
||||
ORBIT_USER=rulingcom
|
||||
|
@ -266,7 +267,9 @@ if [ -f "/home/$ORBIT_USER/.rvm/scripts/rvm" ]; then
|
|||
source /home/$ORBIT_USER/.rvm/scripts/rvm
|
||||
rvm use default
|
||||
else
|
||||
if [ "$1" != "setup" ]; then
|
||||
if [ -f "/etc/profile.d/rvm.sh" ]; then
|
||||
source /etc/profile.d/rvm.sh
|
||||
elif [ "$1" != "setup" ]; then
|
||||
echo ""
|
||||
echo "-----------------------------------------------------"
|
||||
echo "Orbit server dependencies is missing. Please run setup first."
|
||||
|
|
Loading…
Reference in New Issue