Here's one to add root checking:
--- ./prepare-company-database.sh 2011-06-02 18:23:26.851794751 -0400
+++ ./prepare-company-database.sh.new 2011-06-02 19:47:01.0 -0400
@@ -74,6 +74,13 @@
}
+# Am I root?
+if ! test `whoami` = root
+then
+echo "Warning: you are not running as ro
Here is a bit of a patch you might like.
*** ./prepare-company-database.sh 2011-06-02 18:10:15.0 -0400
--- ./prepare-company-database.sh.patched 2011-06-02 18:19:06.0
-0400
***
*** 44,52
First name: $ADMIN_FIRSTNAME (NULL == none)
Middle name:
The attached patch is a slightly improved version because the other
one overwrote my ledgersmb.conf file today (serveral times :-)
Bye,
Erik.
On Thu, Jun 2, 2011 at 6:04 PM, Erik Huelsmann wrote:
> There was discussion on having easier setup procedures. Even though
> the attached script doesn'
There was discussion on having easier setup procedures. Even though
the attached script doesn't install the required Perl modules and
PostgreSQL contrib files, it does contain everything required to
quickly generate a company database, without the complicated manual
instructions you currently have