Qual: A lot of fixes to enhance package quality
This commit is contained in:
parent
61b8d255c4
commit
e06484bfba
@ -13,10 +13,7 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
|
|||||||
# CustomLog logs/ldap.example.com-access.log common
|
# CustomLog logs/ldap.example.com-access.log common
|
||||||
# </VirtualHost>
|
# </VirtualHost>
|
||||||
|
|
||||||
# Directory for web pages
|
<Directory /usr/share/dolibarr/htdocs>
|
||||||
<DirectoryMatch /usr/share/dolibarr>
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
Options +FollowSymLinks +Indexes
|
Options +FollowSymLinks +Indexes
|
||||||
|
|
||||||
@ -56,23 +53,16 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
|
|||||||
#ExpiresByType application/x-javascript A2592000
|
#ExpiresByType application/x-javascript A2592000
|
||||||
#ExpiresByType application/javascript A2592000
|
#ExpiresByType application/javascript A2592000
|
||||||
|
|
||||||
</DirectoryMatch>
|
</Directory>
|
||||||
|
|
||||||
# Directory for public pages
|
<Directory /usr/share/dolibarr/htdocs/public/>
|
||||||
<DirectoryMatch /usr/share/dolibarr/htdocs/public>
|
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Allow from all
|
Allow from all
|
||||||
</DirectoryMatch>
|
</Directory>
|
||||||
|
|
||||||
# Directory for data files
|
<Directory /var/lib/dolibarr>
|
||||||
<DirectoryMatch /usr/share/dolibarr/documents>
|
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Allow from all
|
Allow from all
|
||||||
</DirectoryMatch>
|
</Directory>
|
||||||
<DirectoryMatch /var/lib/dolibarr>
|
|
||||||
AllowOverride All
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
</DirectoryMatch>
|
|
||||||
|
|||||||
@ -3,39 +3,35 @@ Version: __VERSION__
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: Laurent Destailleur <eldy@users.sourceforge.net>
|
Maintainer: Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
Essential: no
|
Essential: no
|
||||||
Installed-Size: 61200
|
Installed-Size: 31200
|
||||||
Depends: apache2, libapache2-mod-php5, php5, php5-cli, php5-cgi, php5-curl, php5-gd, php5-ldap, php5-mysql, mysql-server, perl
|
Depends: apache2, libapache2-mod-php5, php5, php5-cli, php5-cgi, php5-curl, php5-gd, php5-ldap, php5-mysql, mysql-server, perl
|
||||||
Section: web
|
Section: web
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Recommends: firefox
|
Recommends: mozilla | netscape
|
||||||
Homepage: http://www.dolibarr.org
|
Homepage: http://www.dolibarr.org
|
||||||
Description: Easy to use ERP & CRM software to manage your activity.
|
Description: ERP & CRM software to manage your activity.
|
||||||
Dolibarr ERP & CRM is an easy to use open source/free software for small
|
Dolibarr ERP & CRM is an easy to use open source/free software for small
|
||||||
and medium companies, foundations or freelances. It includes different
|
and medium companies, foundations or freelances. It includes different
|
||||||
features for Enterprise Resource Planning (ERP) and Customer Relationship
|
features for Enterprise Resource Planning (ERP) and Customer Relationship
|
||||||
Management (CRM) but also for different other activities.
|
Management (CRM) but also other features for different activities.
|
||||||
It's a web software you can install as a standalone program or on any web
|
|
||||||
hosting provider to use it from anywhere with any web browser.
|
|
||||||
Dolibarr was designed to provide only features you need and be easy to use.
|
|
||||||
.
|
.
|
||||||
Only features you need are visible, depending on which module were activated.
|
Dolibarr features are activated by modules. Most common modules are:
|
||||||
Most common used modules are:
|
|
||||||
.
|
.
|
||||||
|
* Products and services catalog
|
||||||
|
* Stock management
|
||||||
|
* Bank accounts management
|
||||||
* Customers, Suppliers or Prospects directory
|
* Customers, Suppliers or Prospects directory
|
||||||
* Contacts directory
|
* Contacts directory
|
||||||
* Orders management
|
* Orders management
|
||||||
* Commercial proposals management
|
* Commercial proposals management
|
||||||
* Invoices management
|
* Invoices management
|
||||||
* Products and services catalog
|
|
||||||
* Stock management
|
|
||||||
* Foundations members management
|
|
||||||
* Bank accounts management
|
|
||||||
* Point of Sale
|
* Point of Sale
|
||||||
* Payments management
|
* Payments management
|
||||||
* Commercial actions management
|
* Commercial actions management
|
||||||
* Contracts management
|
* Contracts management
|
||||||
* Standing orders management
|
* Standing orders management
|
||||||
* Shipping management
|
* Shipping management
|
||||||
|
* Foundations members management
|
||||||
* Donations management
|
* Donations management
|
||||||
* Bookmarks management
|
* Bookmarks management
|
||||||
* Mass Emailings
|
* Mass Emailings
|
||||||
@ -43,7 +39,4 @@ Description: Easy to use ERP & CRM software to manage your activity.
|
|||||||
* Data export and import tools
|
* Data export and import tools
|
||||||
* LDAP connectivity
|
* LDAP connectivity
|
||||||
* PDF exports
|
* PDF exports
|
||||||
* And a lot of more modules...
|
* And a lot of other modules
|
||||||
.
|
|
||||||
You can also add third parties external modules or develop yours.
|
|
||||||
|
|
||||||
|
|||||||
@ -4,13 +4,12 @@
|
|||||||
// This file must be present into htdocs/install directory
|
// This file must be present into htdocs/install directory
|
||||||
// during install process to be used.
|
// during install process to be used.
|
||||||
//
|
//
|
||||||
// $Id: install.forced.php.install,v 1.7 2011/07/09 15:48:19 eldy Exp $
|
// $Id: install.forced.php.install,v 1.6 2011/07/09 14:11:40 eldy Exp $
|
||||||
//
|
//
|
||||||
|
|
||||||
$force_install_noedit=1;
|
$force_install_noedit=1;
|
||||||
$force_install_message='KeepDefaultValuesDeb';
|
$force_install_message='KeepDefaultValuesDeb';
|
||||||
$force_install_main_data_root='/usr/share/dolibarr/documents';
|
#$force_install_main_data_root='/usr/share/dolibarr/documents';
|
||||||
#$force_install_main_data_root='/var/lib/dolibarr';
|
$force_install_main_data_root='/var/lib/dolibarr';
|
||||||
$force_install_type='mysqli';
|
$force_install_type='mysqli';
|
||||||
$force_install_dbserver='localhost';
|
$force_install_dbserver='localhost';
|
||||||
$force_install_port='3306';
|
$force_install_port='3306';
|
||||||
|
|||||||
@ -49,21 +49,19 @@ case "$1" in
|
|||||||
cat $fileorig | sed -e 's/__SUPERUSERLOGIN__/'$superuserlogin'/g' | sed -e 's/__SUPERUSERPASSWORD__/'$superuserpassword'/g' > $config
|
cat $fileorig | sed -e 's/__SUPERUSERLOGIN__/'$superuserlogin'/g' | sed -e 's/__SUPERUSERPASSWORD__/'$superuserpassword'/g' > $config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create document directory
|
# Create /var/lib/dolibarr/documents
|
||||||
#docdir='/var/lib/dolibarr/documents'
|
mkdir -p /var/lib/dolibarr/documents
|
||||||
docdir='/usr/share/dolibarr/documents'
|
chown -R www-data:www-data /var/lib/dolibarr/documents;
|
||||||
mkdir -p $docdir
|
chmod -R 775 /var/lib/dolibarr/documents;
|
||||||
chown -R www-data:www-data $docdir
|
chmod -R g+s /var/lib/dolibarr/documents;
|
||||||
chmod -R 775 $docdir
|
|
||||||
chmod -R g+s $docdir
|
|
||||||
|
|
||||||
# Create an empty conf.php with permission to web server
|
# Create an empty conf.php with permission to web server
|
||||||
if [ ! -f /usr/share/dolibarr/htdocs/conf/conf.php ]
|
if [ ! -f /usr/share/dolibarr/htdocs/conf/conf.php ]
|
||||||
then
|
then
|
||||||
echo Create empty file /usr/share/dolibarr/htdocs/conf/conf.php
|
echo Create empty file /usr/share/dolibarr/htdocs/conf/conf.php
|
||||||
touch /usr/share/dolibarr/htdocs/conf/conf.php
|
touch /usr/share/dolibarr/htdocs/conf/conf.php
|
||||||
chown -R www-data:www-data /usr/share/dolibarr/htdocs/conf/conf.php
|
chown -R www-data:www-data /usr/share/dolibarr/htdocs/conf/conf.php;
|
||||||
chmod -R 750 /usr/share/dolibarr/htdocs/conf/conf.php
|
chmod -R 750 /usr/share/dolibarr/htdocs/conf/conf.php;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#db_reset "dolibarr/webserver"
|
#db_reset "dolibarr/webserver"
|
||||||
@ -108,6 +106,12 @@ case "$1" in
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Copy icon file
|
||||||
|
#echo "Copy icon file"
|
||||||
|
#fileorig="/usr/share/dolibarr/doc/images/dolibarr.xpm"
|
||||||
|
#target="/usr/share/pixmaps/"
|
||||||
|
#cp -f $fileorig $target
|
||||||
|
|
||||||
#echo "Install menu entry"
|
#echo "Install menu entry"
|
||||||
# This one is for Gnome ubuntu
|
# This one is for Gnome ubuntu
|
||||||
#fileorig="/usr/share/dolibarr/build/deb/dolibarr.desktop"
|
#fileorig="/usr/share/dolibarr/build/deb/dolibarr.desktop"
|
||||||
|
|||||||
@ -91,15 +91,6 @@ Template: dolibarr/postrm
|
|||||||
Type: boolean
|
Type: boolean
|
||||||
Default: true
|
Default: true
|
||||||
Description: Delete database ?
|
Description: Delete database ?
|
||||||
Delete the Dolibarr MySQL database and all its datas (datas related
|
Answer yes if you want to delete also the Dolibarr MySQL database and all
|
||||||
to this quetion are the Dolibarr DBMS account and all
|
its datas (datas subjected to this quetion are the Dolibarr DBMS account and all
|
||||||
Dolibarr tables) ?
|
Dolibarr tables) ?
|
||||||
|
|
||||||
Template: dolibarr/postrmfile
|
|
||||||
Type: boolean
|
|
||||||
Default: true
|
|
||||||
Description: Delete attached files ?
|
|
||||||
Delete also all uploaded and generated files (datas related
|
|
||||||
to this quetion are all files found into /usr/share/dolibarr/documents,
|
|
||||||
uploaded or generated when using Dolibarr) ?
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user