Replace 
if [ ! "$UID" = 0 ]; then

by

if [ ! "$(id -ru )" = 0 ]; then

the first syntax seems to be a "bashism"  not compatible with unbuntu

https://wiki.ubuntu.com/DashAsBinSh

It has been corrected in the svn version 
http://sourcesup.cru.fr/projects/wimsdev

Bernadette

-- 
apache-config returns "you must be root" even if user is root : problem with 
$UID 
https://bugs.launchpad.net/bugs/186207
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to