From 3dfdbdcd346adbd10887bf1ba52b049832f13c24 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 26 Sep 2012 16:30:04 -0400 Subject: sorta-fix ~lukeshu/codeanalyst It still doesn't work, but everything compiles against this kernel, and the custom version of oprofile builds. --- ~lukeshu/codeanalyst/codeanalyst.install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '~lukeshu/codeanalyst/codeanalyst.install') 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 } -- cgit v1.2.3-2-g168b