diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-09-26 16:30:04 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-09-26 16:30:04 -0400 |
commit | 3dfdbdcd346adbd10887bf1ba52b049832f13c24 (patch) | |
tree | 7bbdfac9eb5ae9238bb50dfb6a0a754c58297612 /~lukeshu/codeanalyst/codeanalyst.install | |
parent | 64fecdf1309d2320671d2e1d8cfb19e4cb8c69a7 (diff) |
sorta-fix ~lukeshu/codeanalyst
It still doesn't work, but everything compiles against this kernel, and the
custom version of oprofile builds.
Diffstat (limited to '~lukeshu/codeanalyst/codeanalyst.install')
-rwxr-xr-x | ~lukeshu/codeanalyst/codeanalyst.install | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/~lukeshu/codeanalyst/codeanalyst.install b/~lukeshu/codeanalyst/codeanalyst.install index 8edb4adc2..6ed1ac841 100755 --- a/~lukeshu/codeanalyst/codeanalyst.install +++ b/~lukeshu/codeanalyst/codeanalyst.install @@ -1,5 +1,5 @@ post_install() { - getent group amdca &>/dev/null || /usr/bin/groupadd amdca &>/dev/null + getent group amdca &>/dev/null || groupadd amdca &>/dev/null echo " ==> To use CodeAnalyst as non-root, you must be in the 'amdca' group" echo " ie: gpasswd -a USERNAME amdca" @@ -24,9 +24,6 @@ post_install() { } post_remove() { - if getent group amdca &>/dev/null; then - groupdel amdca - fi - + getent group amdca &>/dev/null && groupdel amdca &>/dev/null update-desktop-database -q } |