Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
2d5bcc2f
Commit
2d5bcc2f
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Work on debian package
parent
592321c1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/deb/postinst
+6
-0
6 additions, 0 deletions
build/deb/postinst
build/makepack-dolibarr.pl
+6
-3
6 additions, 3 deletions
build/makepack-dolibarr.pl
with
12 additions
and
3 deletions
build/deb/postinst
+
6
−
0
View file @
2d5bcc2f
...
@@ -32,6 +32,12 @@ docdir='/var/lib/dolibarr/documents'
...
@@ -32,6 +32,12 @@ docdir='/var/lib/dolibarr/documents'
case
"
$1
"
in
case
"
$1
"
in
configure
)
configure
)
# Copy apache.conf file into target directory.
#fileorig="/usr/share/dolibarr/build/deb/apache.conf"
#config="/etc/dolibarr/apache.conf"
#mkdir -p /etc/dolibarr
#cp -p $fileorig $config
# Edit install.forced.php to match Debian values
# Edit install.forced.php to match Debian values
fileorig
=
"/usr/share/dolibarr/build/deb/install.forced.php.install"
fileorig
=
"/usr/share/dolibarr/build/deb/install.forced.php.install"
config
=
"/usr/share/dolibarr/htdocs/install/install.forced.php"
config
=
"/usr/share/dolibarr/htdocs/install/install.forced.php"
...
...
This diff is collapsed.
Click to expand it.
build/makepack-dolibarr.pl
+
6
−
3
View file @
2d5bcc2f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# \file build/makepack-dolibarr.pl
# \file build/makepack-dolibarr.pl
# \brief Dolibarr package builder (tgz, zip, rpm, deb, exe, aps)
# \brief Dolibarr package builder (tgz, zip, rpm, deb, exe, aps)
# \version $Id: makepack-dolibarr.pl,v 1.1
19
2011/07/2
7 23:51
:0
7
eldy Exp $
# \version $Id: makepack-dolibarr.pl,v 1.1
20
2011/07/2
8 18:32
:0
0
eldy Exp $
# \author (c)2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
# \author (c)2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
...
@@ -48,7 +48,7 @@ if (-d "/usr/src/RPM") {
...
@@ -48,7 +48,7 @@ if (-d "/usr/src/RPM") {
use
vars
qw/ $REVISION $VERSION /
;
use
vars
qw/ $REVISION $VERSION /
;
$REVISION
=
'
$Revision: 1.1
19
$
';
$REVISION
=~
/\s(.*)\s/
;
$REVISION
=
$
1
;
$REVISION
=
'
$Revision: 1.1
20
$
';
$REVISION
=~
/\s(.*)\s/
;
$REVISION
=
$
1
;
$VERSION
=
"
1.0 (build
$REVISION
)
";
$VERSION
=
"
1.0 (build
$REVISION
)
";
...
@@ -555,11 +555,14 @@ if ($nboftargetok) {
...
@@ -555,11 +555,14 @@ if ($nboftargetok) {
# To remove once stable
# To remove once stable
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/usr/share/
$PROJECT
/htdocs/htdocs/theme/bureau2crea
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/usr/share/
$PROJECT
/htdocs/htdocs/theme/bureau2crea
`;
#
a
pache
.
conf
#
A
pache
conf
files
print
"
Copy apache.conf file into
$BUILDROOT
/
$PROJECT
.tmp/etc/
$PROJECT
/apache.conf
\n
";
print
"
Copy apache.conf file into
$BUILDROOT
/
$PROJECT
.tmp/etc/
$PROJECT
/apache.conf
\n
";
$ret
=
`
mkdir -p "
$BUILDROOT
/
$PROJECT
.tmp/etc/
$PROJECT
"
`;
$ret
=
`
mkdir -p "
$BUILDROOT
/
$PROJECT
.tmp/etc/
$PROJECT
"
`;
$ret
=
`
cp "
$SOURCE
/build/deb/apache.conf" "
$BUILDROOT
/
$PROJECT
.tmp/etc/
$PROJECT
/apache.conf"
`;
$ret
=
`
cp "
$SOURCE
/build/deb/apache.conf" "
$BUILDROOT
/
$PROJECT
.tmp/etc/
$PROJECT
/apache.conf"
`;
# Dolibarr conf files
# TODO
# dolibarr.desktop
# dolibarr.desktop
print
"
Create directory
$BUILDROOT
/
$PROJECT
.tmp/usr/share/applications
\n
";
print
"
Create directory
$BUILDROOT
/
$PROJECT
.tmp/usr/share/applications
\n
";
$ret
=
`
mkdir -p "
$BUILDROOT
/
$PROJECT
.tmp/usr/share/applications"
`;
$ret
=
`
mkdir -p "
$BUILDROOT
/
$PROJECT
.tmp/usr/share/applications"
`;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment