Commit Graph
42 Commits
Author SHA1 Message Date
Adam Heath ebab10ece3 Start making use of dpkg triggers, so that ofbiz only gets stopped/
started once per dpkg run, and so that installation is delayed to
the end of the dpkg run as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753322 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 17:27:18 +00:00
Adam Heath 0fdd7019b3 Save a copy of the install log.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750216 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 23:02:50 +00:00
Adam Heath dce3024f10 Remove disabled block that deal with debconf.cfg.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750209 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 22:46:51 +00:00
Adam Heath 81143700d4 Explicitly stop/start the ofbiz daemon, instead of letting debhelper
do it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750207 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 22:44:36 +00:00
Adam Heath 827f2005b5 Vim's syntax highlighting is a little stupid, add some quotes so it
is no longer confused.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750196 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 22:33:36 +00:00
Adam Heath 03793c4953 $extra has " in it, so we need to use eval to run it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749835 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 23:19:33 +00:00
Adam Heath 301ca2da07 No longer set the ofbiz/readers value to seed; this was causing the
seed data to be imported twice during install.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749832 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 23:18:49 +00:00
Adam Heath 3a35d5eca6 Move automatic debhelper commands to just after debconf is started.
This allows purging of the database to work, as the daemon is now
stopped at the right time.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749828 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 23:10:40 +00:00
Adam Heath 80f5f93ccc Remove set -x.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749826 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 23:09:56 +00:00
Adam Heath b19863b269 Rewrote the main loop, so it pulls each step from an array. This
will allow for adding new entries without having to renumber
everything.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749814 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 22:51:50 +00:00
Adam Heath 6588447739 Remove stat override on the homedir during purge.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749813 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 22:49:43 +00:00
Adam Heath 4fd55f250a Various minor updates, closer to being lintian clean.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749190 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 05:16:09 +00:00
Adam Heath f5664016ec Add LSB header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749189 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 05:15:16 +00:00
Adam Heath 1b3221b275 Set the shell for the ofbiz user to /bin/sh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749159 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:16:33 +00:00
Adam Heath 3f96d79f82 Remove upgrade support, these still aren't really official.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749158 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:15:50 +00:00
Adam Heath 41fd0ba90b The internal ant is now used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749154 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 02:57:40 +00:00
Adam Heath ca4eb13966 Set the permissions on the ofbiz home dir so that it is writable by
the correct user.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749153 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 02:54:24 +00:00
Adam Heath 6e1c9c8033 Fix inverted test in jsvc compat code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749152 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 02:53:27 +00:00
Adam Heath 5281c06325 Depend on openjdk-6-jdk, instead of the sun variant; these packages
could now go into main.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718657 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:18:56 +00:00
Adam Heath 8cdb901ebf Fix the debian clean target.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718649 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 16:58:05 +00:00
Adam Heath 9a7763dae4 The ofbiz-framework.deb is now installable; upgrades are *not*
handled.  Instaling -applications or -specialpurpose, or any other
package that drops into hot-deploy is not yet supported; namely, the
extra seed/demo data won't get installed, and the daemon won't be
restarted.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718535 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:45:52 +00:00
Adam Heath 6c4f9b1c94 Preparing the helper scripts and files for framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718511 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 06:58:40 +00:00
Adam Heath cdc01b9008 Preparing to split the packaging a bit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718507 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 06:50:05 +00:00
Adam Heath 38c55148c1 Fix spelling of ofbiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718505 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 06:46:11 +00:00
Adam Heath a1922c66dc When running find, pass the command name thru using qw() as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@714089 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 18:11:49 +00:00
Adam Heath 1a339a6c62 If you happened to call binary before calling build, it would fail.
So, add a dep to make certain things are actually built.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@714086 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 18:05:56 +00:00
Adam Heath df088248c2 Use a stamps dir to save from having to compile ofbiz all the time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@714085 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 18:03:59 +00:00
Adam Heath 6036ca758e Fix call to xargs rm when purging cache files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709336 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 03:12:35 +00:00
Adam Heath 12497769e9 Remove log files during purge.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709335 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 03:11:32 +00:00
Adam Heath 1e1e90689c Don't do set -x/+x.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709334 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 03:10:56 +00:00
Adam Heath 5fdbac692e Call db_stop after #DEBHELPER#.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709333 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 03:08:23 +00:00
Adam Heath 855861edb6 Call db_stop when done.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709332 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 03:07:46 +00:00
Adam Heath f342f37cf0 No longer redirect the files thru the alternatives system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709331 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 03:03:30 +00:00
Adam Heath 101bbb57b5 Add a versioned dep against dbconfig-common, so that the dump that
occurs for postgres during purge actually gets saved.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709330 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 02:50:25 +00:00
Adam Heath 5a9a85ea4e Add license header to files that support it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689908 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 17:32:40 +00:00
Adam Heath ae056772f0 Bump Standards-Version.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689903 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 17:25:49 +00:00
Adam Heath b404c5a570 Give descriptions for the packages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689902 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 17:25:20 +00:00
Adam Heath ba7c3baa85 Add translation support to debconf messages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689901 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 17:23:20 +00:00
Adam Heath 45de0adacc Forgot to remove debug before checking in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687152 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:51:38 +00:00
Adam Heath db2a33fae4 If jsvc is not detected on the path, then implement a shellscript
fallback function.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687150 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:43:50 +00:00
Adam Heath d684ebdb93 Remove debug stuff from the top.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684404 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 03:33:11 +00:00
Adam Heath 8989419c2e Debian work; have *not* done an install test with this, against
current HEAD.  It worked for a previous version.  I'll be continuing
to improve this over the next few weeks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684387 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:35:11 +00:00