summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnafu2017-03-22 11:04:56 +0100
committersnafu2017-03-22 11:04:56 +0100
commitabd7ed3e841951204b373647c2545f8eb1e15ad1 (patch)
tree77761c92e01869b0053d303f4430c5ed3dffe45a
parent341e1e2e3b73c59e6c048d4f3cf9d18a2feff012 (diff)
downloadaur-abd7ed3e841951204b373647c2545f8eb1e15ad1.tar.gz
update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--modules.sh4
3 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bdcd55858289..277943fb7d9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index a6d1287813eb..db267513a90b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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