aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-02-13 16:34:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-02-13 16:34:28 -0300
commit30f1e20fe773ba8e5d766e20bc14a926e466e545 (patch)
treec1232edfe7b2c889e7893838cfff3140a6f37057
parent67f53c4c611a054efd007448650e631b45b38e83 (diff)
downloadprofile-30f1e20fe773ba8e5d766e20bc14a926e466e545.tar.gz
profile-30f1e20fe773ba8e5d766e20bc14a926e466e545.tar.bz2
Feat: additional stowpkg paths
-rw-r--r--profile.dot.link14
1 files changed, 12 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index b96c0b1..cd4b022 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -51,8 +51,18 @@ if [ -d "$HOME/apps/local" ]; then
fi
# PATH for stowpkg
-if [ -d "$HOME/apps/stowpkg/tree/`uname -m`/bin" ]; then
- PATH="$HOME/apps/stowpkg/tree/`uname -m`/bin:$PATH"
+if [ -d "$HOME/apps/stowpkg/tree/`uname -m`" ]; then
+ if [ -d "$HOME/apps/stowpkg/tree/`uname -m`/bin" ]; then
+ PATH="$HOME/apps/stowpkg/tree/`uname -m`/bin:$PATH"
+ fi
+
+ if [ -d "$HOME/apps/stowpkg/tree/`uname -m`/usr/bin" ]; then
+ PATH="$HOME/apps/stowpkg/tree/`uname -m`/usr/bin:$PATH"
+ fi
+
+ if [ -d "$HOME/apps/stowpkg/tree/`uname -m`/usr/local/bin" ]; then
+ PATH="$HOME/apps/stowpkg/tree/`uname -m`/usr/local/bin:$PATH"
+ fi
fi
# Add /vagrant into PATH, useful if we're inside a virtual machine