aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-27 16:26:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-27 16:26:46 -0200
commit5bd6b7df7a729fc923958870a2258c92ba12a248 (patch)
treeb74e7227e23324f2948d3fa49aa980c5eb351e7d
parent44ac47660dbd6dd27a0d17d5d0ea27a5d3b53e4d (diff)
downloadprofile-5bd6b7df7a729fc923958870a2258c92ba12a248.tar.gz
profile-5bd6b7df7a729fc923958870a2258c92ba12a248.tar.bz2
Use /srv/kvmx instead of just /srv
-rw-r--r--profile.dot.link10
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