diff options
author | snafu | 2017-03-22 11:04:56 +0100 |
---|---|---|
committer | snafu | 2017-03-22 11:04:56 +0100 |
commit | abd7ed3e841951204b373647c2545f8eb1e15ad1 (patch) | |
tree | 77761c92e01869b0053d303f4430c5ed3dffe45a | |
parent | 341e1e2e3b73c59e6c048d4f3cf9d18a2feff012 (diff) | |
download | aur-abd7ed3e841951204b373647c2545f8eb1e15ad1.tar.gz |
update
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | modules.sh | 4 |
3 files changed, 4 insertions, 6 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Wed Mar 22 08:13:27 UTC 2017 pkgbase = env-modules pkgdesc = Provides for an easy dynamic modification of a user's environment via modulefile. pkgver = 3.2.10 - pkgrel = 2 + pkgrel = 3 url = https://sourceforge.net/projects/modules/ arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Your Name <youremail@domain.com> pkgname=env-modules pkgver=3.2.10 -pkgrel=2 +pkgrel=3 epoch= pkgdesc="Provides for an easy dynamic modification of a user's environment via modulefile." arch=('i686' 'x86_64') diff --git a/modules.sh b/modules.sh index d189fda1c37a..31eeeb01fcc7 100644 --- a/modules.sh +++ b/modules.sh @@ -1,9 +1,9 @@ # init module enviroment -if [[ `ps -hp $$ | awk '{print $5}'` = "bash" ]]; then +if [[ `ps -hp $$ | grep 'bash'` ]]; then source /usr/Modules/default/init/bash -elif [[ `ps -hp $$ | awk '{print $5}'` = "zsh" ]]; then +elif [[ `ps -hp $$ | grep 'zsh'` ]]; then source /usr/Modules/default/init/zsh fi |