diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-27 16:26:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-27 16:26:46 -0200 |
commit | 5bd6b7df7a729fc923958870a2258c92ba12a248 (patch) | |
tree | b74e7227e23324f2948d3fa49aa980c5eb351e7d | |
parent | 44ac47660dbd6dd27a0d17d5d0ea27a5d3b53e4d (diff) | |
download | profile-5bd6b7df7a729fc923958870a2258c92ba12a248.tar.gz profile-5bd6b7df7a729fc923958870a2258c92ba12a248.tar.bz2 |
Use /srv/kvmx instead of just /srv
-rw-r--r-- | profile.dot.link | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/profile.dot.link b/profile.dot.link index 93f80eb..9638c8c 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -43,9 +43,9 @@ if [ -d "/vagrant/bin" ]; then PATH="$PATH:/vagrant/bin" fi -# Add /srv into PATH, useful if we're inside a virtual machine -if [ -d "/srv/bin" ]; then - PATH="$PATH:/srv/bin" +# Add /srv/kvmx into PATH, useful if we're inside a virtual machine +if [ -d "/srv/kvmx/bin" ]; then + PATH="$PATH:/srv/kvmx/bin" fi # Add composer into PATH @@ -250,8 +250,8 @@ if [ -z "$STARTUP_FOLDER" ] && [ -d "/vagrant" ]; then fi # Detect if we're inside a kvmx VM -if [ -z "$STARTUP_FOLDER" ] && [ -f "/srv/kvmxfile" ]; then - STARTUP_FOLDER="/srv" +if [ -z "$STARTUP_FOLDER" ] && [ -f "/srv/kvmx/kvmxfile" ]; then + STARTUP_FOLDER="/srv/kvmx" fi # Make sure we start at the startup folder, defaulting to home |