flavors rev 154

Add: Dolibarr flavor.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 11 02:00:09 2012 +0100 (2012-03-11)
parents 4ce6afec917c
children c843f061ea51
files dolibarr/distro.sh dolibarr/packages.list dolibarr/receipt dolibarr/rootcd/README dolibarr/rootcd/images/header.png dolibarr/rootcd/index.html dolibarr/rootcd/style.css dolibarr/rootfs/etc/mysql.d/initdb.sh dolibarr/rootfs/etc/skel/Desktop/slitaz-doc.desktop dolibarr/rootfs/usr/share/applications/system-doc.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dolibarr/distro.sh	Sun Mar 11 02:00:09 2012 +0100
     1.3 @@ -0,0 +1,103 @@
     1.4 +#!/bin/sh
     1.5 +# distro.sh, changet set for slitaz-dolibarr
     1.6 +#
     1.7 +# Eric Joseph-Alexandre <erjo@slitaz.org>
     1.8 +
     1.9 +ROOTFS=$PWD/rootfs
    1.10 +HOSTNAME="dolilive"
    1.11 +AUTOSTART="apache mysql"
    1.12 +DONTSTART="httpd"
    1.13 +ALLOW_ROOT_LOGIN="1"
    1.14 +BLOCKED_PACKAGES=""
    1.15 +
    1.16 +# Disable auto-install dependencies
    1.17 +sed -i s/AUTO_INSTALL.*/AUTO_INSTALL_DEPS=\"no\"/ $ROOTFS/etc/slitaz/tazpkg.conf
    1.18 +
    1.19 +##
    1.20 +##
    1.21 +if [ ! -z "$BLOCKED_PACKAGES" ]; then
    1.22 +	touch $ROOTFS/var/lib/tazpkg/blocked-packages.list
    1.23 +	for i in $BLOCKED_PACKAGES
    1.24 +	do 
    1.25 +		echo $i >> $ROOTFS/var/lib/tazpkg/blocked-packages.list
    1.26 +	done
    1.27 +fi
    1.28 +
    1.29 +
    1.30 +# Set static IP config: IP=92.168.1.6/24. Gateway=192.168.1.1 DNS: 192.168.1.1 
    1.31 +
    1.32 +if [ ! -z  $IP_STATIC ]; then
    1.33 +	sed -i -e 's/DHCP=.*/DHCP=\"no\"/' \
    1.34 +		-e 's/STATIC=.*/STATIC=\"yes\"/' \
    1.35 +		-e 's/IP=.*/IP=\"192.168.1.6\"/' \
    1.36 +		-e 's/GATEWAY=.*/GATEWAY=\"192.168.1.1\"/' \
    1.37 +		-e 's/DNS_SERVER=.*/DNS_SERVER=\"192.168.1.1\"/' $ROOTFS/etc/network.conf
    1.38 +fi
    1.39 +
    1.40 +# Change default hostname
    1.41 +if [ ! -z "$HOSTNAME" ]; then
    1.42 +	echo "* Setting hostname to $HOSTNAME"
    1.43 +	echo "$HOSTNAME" > $ROOTFS/etc/hostname
    1.44 +	# Change hosts
    1.45 +	sed -i -e "s/slitaz/$HOSTNAME/" $ROOTFS/etc/hosts
    1.46 +fi
    1.47 +
    1.48 +# Start daemons at boot time
    1.49 +if [ ! -z "$AUTOSTART" ]; then 
    1.50 +	echo "* Enabling daemons at boot" 
    1.51 +	sed -i -e "s/RUN_DAEMONS=\"\(.*\)\"/RUN_DAEMONS=\"\1 $AUTOSTART\"/"  \
    1.52 +		$ROOTFS/etc/rcS.conf
    1.53 +fi
    1.54 +
    1.55 +# Dont start daemons at boot time
    1.56 +if [ ! -z "$DONTSTART" ]; then 
    1.57 +	echo "* Disabling daemons at boot" 
    1.58 +	sed -i -e "s/$DONTSTART//"  \
    1.59 +		$ROOTFS/etc/rcS.conf
    1.60 +fi
    1.61 +
    1.62 +##
    1.63 +## Custom config
    1.64 +##
    1.65 +
    1.66 +# Allow SSH root login from remote computer.
    1.67 +if [ $ALLOW_ROOT_LOGIN = "1" ]; then
    1.68 +	echo "Allow root login using SSH"
    1.69 +	sed -i 's!DROPBEAR_OPTIONS=.*!DROPBEAR_OPTIONS="-b  /etc/dropbear/banner"!' \
    1.70 +	$ROOTFS/etc/daemons.conf
    1.71 +fi
    1.72 +
    1.73 +# Fix Apache config
    1.74 +sed -i  '/#ServerName/ {
    1.75 +	a\ServerName localhost
    1.76 +}' $ROOTFS/etc/apache/httpd.conf
    1.77 +
    1.78 +#
    1.79 +sed -i 's/DirectoryMatch/Directory/' $ROOTFS/etc/apache/conf.d/phpmyadmin
    1.80 +
    1.81 +# Remove extra files
    1.82 +rm -rf $ROOTFS/etc/apache/phpinfo
    1.83 +rm -rf $ROOTFS/usr/share/applications/lua.*
    1.84 +rm -rf $ROOTFS/usr/share/applications/sqlite.*
    1.85 +rm -rf $ROOTFS/usr/share/applications/gtkdialog.*
    1.86 +rm -rf $ROOTFS/usr/share/applications/php.*
    1.87 +rm -rf $ROOTFS/usr/share/applications/dialog.*
    1.88 +
    1.89 +# Default config
    1.90 +sed -i 's/tazweb/midori/' $ROOTFS/etc/slitaz/applications.conf
    1.91 +
    1.92 +#
    1.93 +#~ sed -i 's/transparent=1/transparent=0/' $ROOTFS/usr/share/lxpanel/profile/default/panels/panel 
    1.94 +#~ sed -i 's/transparent=1/transparent=0/' $ROOTFS/etc/lxpanel/default/panels/panel 
    1.95 +#~ sed -i 's/transparent=1/transparent=0/' $ROOTFS/etc/lxpanel/original/panels/panel 
    1.96 +sed -i 's/tazweb/midori/' $ROOTFS/usr/share/lxpanel/profile/default/panels/panel 
    1.97 +sed -i 's/tazweb/midori/' $ROOTFS/etc/lxpanel/default/panels/panel  
    1.98 +sed -i 's/tazweb/midori/' $ROOTFS/etc/lxpanel/original/panels/panel 
    1.99 +
   1.100 +#~ 
   1.101 +# fix perms (don(t know why)
   1.102 +chmod 755 $ROOTFS/etc/mysql.d/*
   1.103 +
   1.104 +# Add shorcut on the Desktop
   1.105 +cp $ROOTFS/usr/share/applications/dolibarr.desktop $ROOTFS/etc/skel/Desktop
   1.106 +#cp $ROOTFS/usr/share/applications/phpmyadmin.desktop $ROOTFS/etc/skel/Desktop
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dolibarr/packages.list	Sun Mar 11 02:00:09 2012 +0100
     2.3 @@ -0,0 +1,213 @@
     2.4 +915resolution
     2.5 +acl
     2.6 +alsa-lib
     2.7 +alsaplayer
     2.8 +alsa-utils
     2.9 +asunder
    2.10 +atk
    2.11 +atkmm
    2.12 +attr
    2.13 +busybox
    2.14 +bzlib
    2.15 +cairo
    2.16 +cairomm
    2.17 +cdparanoia-III
    2.18 +cdrkit
    2.19 +clearlooks
    2.20 +cookutils
    2.21 +dbus
    2.22 +dbus-glib
    2.23 +depmod
    2.24 +desktop-file-utils
    2.25 +dialog
    2.26 +dropbear
    2.27 +e2fsprogs
    2.28 +enchant
    2.29 +epdfview
    2.30 +expat
    2.31 +firmware-rt2x00
    2.32 +fontconfig
    2.33 +freetype
    2.34 +fuse
    2.35 +galculator
    2.36 +gamin
    2.37 +gcc-lib-base
    2.38 +gcolor2
    2.39 +gdk-pixbuf
    2.40 +gettext-base
    2.41 +glib
    2.42 +glibc-base
    2.43 +glibmm
    2.44 +gparted
    2.45 +gpxe
    2.46 +grub4dos-linux
    2.47 +gtk+
    2.48 +gtkdialog
    2.49 +gtkmm
    2.50 +hal
    2.51 +hardinfo
    2.52 +hicolor-icon-theme
    2.53 +isapnptools
    2.54 +isomaster
    2.55 +jpeg
    2.56 +kbd-base
    2.57 +lcms
    2.58 +leafpad
    2.59 +libcap
    2.60 +libcddb
    2.61 +libcomerr
    2.62 +libcrypto
    2.63 +libgcrypt
    2.64 +libgio
    2.65 +libgiomm
    2.66 +libglade
    2.67 +libgnutls
    2.68 +libgpg-error
    2.69 +libjpeg
    2.70 +libmad
    2.71 +libnotify
    2.72 +libogg
    2.73 +libpng
    2.74 +libsexy
    2.75 +libsigc++
    2.76 +libsoup
    2.77 +libsqlite
    2.78 +libssl
    2.79 +libtasn1
    2.80 +libtaz
    2.81 +libunique
    2.82 +libusb
    2.83 +libusb-compat
    2.84 +libvorbis
    2.85 +libwebkit
    2.86 +libxcb
    2.87 +libxml2
    2.88 +libxslt
    2.89 +linux
    2.90 +linux-crypto
    2.91 +linux-firmware
    2.92 +linux-sound
    2.93 +linux-wireless
    2.94 +locale-de
    2.95 +locale-es
    2.96 +locale-fr
    2.97 +locale-it
    2.98 +locale-pt_BR
    2.99 +lua
   2.100 +lxappearance
   2.101 +lxpanel
   2.102 +lxrandr
   2.103 +lxtask
   2.104 +lzlib
   2.105 +lzma
   2.106 +menu-cache
   2.107 +midori
   2.108 +mtpaint
   2.109 +nano
   2.110 +ncurses
   2.111 +ncurses-common
   2.112 +ncursesw
   2.113 +ntfs-3g
   2.114 +ntfsprogs
   2.115 +obconf
   2.116 +openbox
   2.117 +pango
   2.118 +pangomm
   2.119 +parcellite
   2.120 +parted
   2.121 +pciutils
   2.122 +pcmanfm
   2.123 +pcmciautils
   2.124 +pcre
   2.125 +pixman
   2.126 +poppler
   2.127 +popt
   2.128 +readline
   2.129 +retawq
   2.130 +shared-mime-info
   2.131 +slim
   2.132 +slitaz-base-files
   2.133 +slitaz-boot-scripts
   2.134 +slitaz-configs
   2.135 +slitaz-configs-base
   2.136 +slitaz-doc
   2.137 +slitaz-icon
   2.138 +slitaz-menus
   2.139 +slitaz-polar-cursors
   2.140 +slitaz-tools
   2.141 +slitaz-tools-boxes
   2.142 +sqlite
   2.143 +startup-notification
   2.144 +sysfsutils
   2.145 +syslinux
   2.146 +syslinux-extra
   2.147 +tazlito
   2.148 +tazpanel
   2.149 +tazpkg
   2.150 +tazusb
   2.151 +tazwikiss
   2.152 +tazweb
   2.153 +tiff
   2.154 +transset-df
   2.155 +ttf-dejavu
   2.156 +udev
   2.157 +util-linux-ng-blkid
   2.158 +util-linux-ng-getopt
   2.159 +util-linux-ng-uuid
   2.160 +viewnior
   2.161 +web-applications
   2.162 +wireless_tools
   2.163 +wpa_supplicant
   2.164 +xcb-util
   2.165 +xorg
   2.166 +xorg-base-fonts
   2.167 +xorg-libfontenc
   2.168 +xorg-libICE
   2.169 +xorg-libpciaccess
   2.170 +xorg-libSM
   2.171 +xorg-libX11
   2.172 +xorg-libXau
   2.173 +xorg-libXaw
   2.174 +xorg-libXcomposite
   2.175 +xorg-libXcursor
   2.176 +xorg-libXdamage
   2.177 +xorg-libXdmcp
   2.178 +xorg-libXext
   2.179 +xorg-libXfixes
   2.180 +xorg-libXfont
   2.181 +xorg-libXft
   2.182 +xorg-libXi
   2.183 +xorg-libXinerama
   2.184 +xorg-libxkbfile
   2.185 +xorg-libXmu
   2.186 +xorg-libXpm
   2.187 +xorg-libXrandr
   2.188 +xorg-libXrender
   2.189 +xorg-libXss
   2.190 +xorg-libXt
   2.191 +xorg-libXtst
   2.192 +xorg-libXxf86vm
   2.193 +xorg-rgb
   2.194 +xorg-server
   2.195 +xorg-setxkbmap
   2.196 +xorg-xauth
   2.197 +xorg-xcompmgr
   2.198 +xorg-xf86-input-evdev
   2.199 +xorg-xf86-input-synaptics
   2.200 +xorg-xf86-video-geode
   2.201 +xorg-xf86-video-intel
   2.202 +xorg-xf86-video-nv
   2.203 +xorg-xf86-video-vesa
   2.204 +xorg-xkbcomp
   2.205 +xorg-xkeyboard-config
   2.206 +xterm
   2.207 +yad
   2.208 +zlib
   2.209 +apache
   2.210 +php-apache
   2.211 +php-mysql
   2.212 +mysql
   2.213 +phpmyadmin
   2.214 +dolibarr
   2.215 +
   2.216 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dolibarr/receipt	Sun Mar 11 02:00:09 2012 +0100
     3.3 @@ -0,0 +1,11 @@
     3.4 +# SliTaz flavor receipt.
     3.5 +
     3.6 +FLAVOR="dolibarr"
     3.7 +SHORT_DESC="Dolibarr GRC/CRM Live
     3.8 +VERSION="20120305"
     3.9 +MAINTAINER="erjo@slitaz.org"
    3.10 +
    3.11 +FRUGAL_RAM="160M"
    3.12 +ROOTFS_SIZE="121.3M"
    3.13 +INITRAMFS_SIZE="29.2M"
    3.14 +ISO_SIZE="33.0M"
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/dolibarr/rootcd/README	Sun Mar 11 02:00:09 2012 +0100
     4.3 @@ -0,0 +1,67 @@
     4.4 +README SliTaz GNU/Linux CD                                          August 2007
     4.5 +===============================================================================
     4.6 +
     4.7 +
     4.8 +Français
     4.9 +--------
    4.10 +Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD
    4.11 +(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système
    4.12 +actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système
    4.13 +peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur.
    4.14 +Mais SliTaz est aussi pleinement installable sur un disque dur et largement
    4.15 +extensible via le gestionnaire de paquets et la compilation de nouvelles
    4.16 +applications depuis les sources.
    4.17 +
    4.18 +Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer
    4.19 +le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système
    4.20 +fournit plus de 200 commandes Linux, un mini serveur web, navigateur web,
    4.21 +client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}.
    4.22 +
    4.23 +SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk,
    4.24 +hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable,
    4.25 +vous pouvez jetter un coup d'oeil au document install-guide.html.
    4.26 +
    4.27 +Slitaz GNU/Linux est distribué sans aucune garantie et publié car
    4.28 +potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des
    4.29 +passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur
    4.30 +le système vous trouverez le manuel d'utilisateur et la documentation dans :
    4.31 +/usr/share/doc, et les licences complète dans : /usr/share/licenses.
    4.32 +
    4.33 +Havefun!
    4.34 +
    4.35 +
    4.36 +English
    4.37 +-------
    4.38 +SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU
    4.39 +free software. SliTaz also use goodies from the Debian project. The goal of
    4.40 +SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot
    4.41 +with Syslinux, provide more than 200 Linux commands, LightTPD web serveur,
    4.42 +SSH server/client powered by Dropbear, rescue tools, X system, and much more
    4.43 +{...}.
    4.44 +
    4.45 +On the system you will find documentation in: /usr/share/doc, and the full
    4.46 +GPL license in: /usr/share/licenses.
    4.47 +
    4.48 +
    4.49 +LICENSE
    4.50 +-------
    4.51 +
    4.52 +Copyright (c)  2007  SliTaz GNU/Linux
    4.53 +
    4.54 +SliTaz is free software; you can redistribute it and/or modify
    4.55 +it under the terms of the GNU General Public License as published by
    4.56 +the Free Software Foundation; either version 3 of the License, or
    4.57 +(at your option) any later version.
    4.58 +
    4.59 +SliTaz is distributed in the hope that it will be useful,
    4.60 +but WITHOUT ANY WARRANTY; without even the implied warranty of
    4.61 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    4.62 +GNU General Public License for more details.
    4.63 +
    4.64 +You should have received a copy of the GNU General Public License
    4.65 +along with SliTaz; if not, write to the Free Software
    4.66 +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    4.67 +
    4.68 +
    4.69 +===============================================================================
    4.70 +                                                         http://www.slitaz.org/
     5.1 Binary file dolibarr/rootcd/images/header.png has changed
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/dolibarr/rootcd/index.html	Sun Mar 11 02:00:09 2012 +0100
     6.3 @@ -0,0 +1,64 @@
     6.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     6.5 +    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     6.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
     6.7 +<head>
     6.8 +	<title>SliTaz GNU/Linux - CD</title>
     6.9 +	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    6.10 +	<meta name="description" content="SliTaz documentation book" />
    6.11 +	<meta name="expires" content="never" />
    6.12 +	<meta name="modified" content="2007-10-07 20:30:00" />
    6.13 +	<meta name="publisher" content="www.slitaz.org" />
    6.14 +	<meta name="author" content="Christophe Lincoln"/>
    6.15 +	<link rel="stylesheet" type="text/css" href="style.css" />
    6.16 +</head>
    6.17 +<body bgcolor="#ffffff">
    6.18 +<!-- Header -->
    6.19 +<div id="header">
    6.20 +	<a name="top"></a>
    6.21 +	<h1>SliTaz GNU/Linux - CD</h1>
    6.22 +</div>
    6.23 +
    6.24 +<!-- Content -->
    6.25 +<div id="content">
    6.26 +<h2><font color="#DF8F06">LiveCD informations</font></h2>
    6.27 +
    6.28 +<h3><font color="#9c2424">Français</font></h3>
    6.29 +<p>
    6.30 +Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le
    6.31 +fichier <a href="README">README</a> pour de plus amples informations, ou
    6.32 +démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour
    6.33 +lancer SliTaz en RAM et sans risques pour la machine hôte.
    6.34 +</p>
    6.35 +
    6.36 +<h3><font color="#9c2424">English</font></h3>
    6.37 +<p>
    6.38 +Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French,
    6.39 +but the full system is available in English. To boot SliTaz from a cdrom,
    6.40 +just burn the ISO image onto a blank disc. Then reboot your computer with
    6.41 +the disc into your cdrom driver.
    6.42 +</p>
    6.43 +<p>
    6.44 +Have fun!<br />
    6.45 +- SliTaz community
    6.46 +</p>
    6.47 +
    6.48 +</div>
    6.49 +<!-- End content -->
    6.50 +<hr />
    6.51 +<!-- Footer -->
    6.52 +<div align="center" id="footer">
    6.53 +<p>
    6.54 +<font size="-1">
    6.55 +    <a href="#top">Haut de la page</a>
    6.56 +</font>
    6.57 +</p>
    6.58 +<p>
    6.59 +<font size="-1">
    6.60 +    Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> -
    6.61 +    <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br />
    6.62 +    Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>.
    6.63 +</font>
    6.64 +</p>
    6.65 +</div>
    6.66 +</body>
    6.67 +</html>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/dolibarr/rootcd/style.css	Sun Mar 11 02:00:09 2012 +0100
     7.3 @@ -0,0 +1,57 @@
     7.4 +/* CSS style for SliTaz GNU/Linux generic xHTML files. */
     7.5 +body {
     7.6 +    font: 90% sans-serif, vernada, arial;
     7.7 +    margin: 0;
     7.8 +    }
     7.9 +/* Header */
    7.10 +#header{
    7.11 +    background: #BFB06B url(images/header.png) repeat-x top;
    7.12 +    color: black;
    7.13 +    width: 100%;
    7.14 +    height: 50px ;
    7.15 +    border-top: 1px solid black;
    7.16 +    border-bottom: 1px solid black;
    7.17 +    }
    7.18 +#content {
    7.19 +	margin: 0px 50px 26px 50px;
    7.20 +	}
    7.21 +#footer {
    7.22 +	border-top: 1px solid black;
    7.23 +	}
    7.24 +a {
    7.25 +	text-decoration: underline;
    7.26 +	}
    7.27 +a:hover {
    7.28 +	text-decoration: none;
    7.29 +	}
    7.30 +h1 {
    7.31 +    margin: 10px 0px 0px 6px;
    7.32 +    }
    7.33 +h2 {
    7.34 +    margin: 12px 0;
    7.35 +    }
    7.36 +pre {
    7.37 +    padding: 5px;
    7.38 +    color: black;
    7.39 +    background: #e1e0b0;
    7.40 +    }
    7.41 +pre.script {
    7.42 +    padding: 10px;
    7.43 +    color: black;
    7.44 +    background: #e8e8e8;
    7.45 +    border: 1px inset #333333;
    7.46 +}
    7.47 +li {
    7.48 +    line-height: 1.4em;
    7.49 +    }
    7.50 +code {
    7.51 +    font-size: 100%;
    7.52 +    color: #669900;
    7.53 +    background: transparent;
    7.54 +    }
    7.55 +hr {
    7.56 +	color: white;
    7.57 +    background-color: white;
    7.58 +    height: 1px;
    7.59 +    border: 0;
    7.60 +	}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/dolibarr/rootfs/etc/mysql.d/initdb.sh	Sun Mar 11 02:00:09 2012 +0100
     8.3 @@ -0,0 +1,24 @@
     8.4 +#!/bin/sh
     8.5 +#
     8.6 +# dolibarr.sh, Configuration et installation de Dolibarr.
     8.7 +#
     8.8 +# (C) 2007-2008 SliTaz - GNU General Public License v3.
     8.9 +#
    8.10 +# Author : Eric Joseph-Alexandre <erjo@slitaz.org>
    8.11 +
    8.12 +PACKAGE=Dolibarr
    8.13 +VER=0.1
    8.14 +PATH=/bin:/sbin:/usr/bin
    8.15 +CACHE=/var/slitaz
    8.16 +LOG=/var/log/$(basename $0).log
    8.17 +
    8.18 +# Create cache directory if necessary
    8.19 +if [ ! -d $CACHE ]; then
    8.20 +	echo "Init cache/var directory"  > $LOG
    8.21 +	mkdir -p $CACHE
    8.22 +	echo "Install/restore $PACKAGE database(s)"
    8.23 +	tazpkg reconfigure dolibarr
    8.24 +	
    8.25 +fi
    8.26 +
    8.27 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/dolibarr/rootfs/etc/skel/Desktop/slitaz-doc.desktop	Sun Mar 11 02:00:09 2012 +0100
     9.3 @@ -0,0 +1,5 @@
     9.4 +[Desktop Entry]
     9.5 +Name=Documentation
     9.6 +Exec=GtkLauncher file:///usr/share/doc/slitaz/index.html
     9.7 +Icon=slitaz-doc.png
     9.8 +Type=Application
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/dolibarr/rootfs/usr/share/applications/system-doc.desktop	Sun Mar 11 02:00:09 2012 +0100
    10.3 @@ -0,0 +1,8 @@
    10.4 +[Desktop Entry]
    10.5 +Name=System Doc
    10.6 +Name[fr]=Doc du système
    10.7 +Name[pt]=Documentação do Sistema
    10.8 +Exec=browser file:///usr/share/doc/slitaz/index.html
    10.9 +Icon=slitaz-doc.png
   10.10 +Type=Application
   10.11 +Categories=Documentation;