Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / packaging / Debian / preinst
index 593bbc7..82814da 100644 (file)
@@ -1,4 +1,11 @@
 #!/bin/sh -e
 
-/usr/sbin/groupadd gnokii 
+if [ -z "`grep -e '^gnokii:' /etc/group`" ]
+then
+       /usr/sbin/groupadd gnokii
+else
+       echo 'notice: group "gnokii" already exists'
+       echo 'I assume that you have used a gnokii before, Mr. Bond.'
+fi
 
+#DEBHELPER#