Commit 482ef914 authored by 's avatar
Browse files

changed amakrid to whoami (was not working in fedora)

git-svn-id: file:///home/svn/mapi/trunk@876 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 9183b2dc
...@@ -59,7 +59,7 @@ dist-hook: ...@@ -59,7 +59,7 @@ dist-hook:
# if installing as root, create a mapi user group # if installing as root, create a mapi user group
install-exec-hook: install-exec-hook:
@if test ${USER} = root; then \ @if test `whoami` = root; then \
if $(GROUPADD) -f ${MAPI_GROUP}; then\ if $(GROUPADD) -f ${MAPI_GROUP}; then\
echo "Created user group '${MAPI_GROUP}'"; \ echo "Created user group '${MAPI_GROUP}'"; \
fi \ fi \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment