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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
05f83ddd
Commit
05f83ddd
authored
Sep 27, 2014
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: packager
parent
e1ba6ccf
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/makepack-dolibarr.pl
+13
-8
13 additions, 8 deletions
build/makepack-dolibarr.pl
with
13 additions
and
8 deletions
build/makepack-dolibarr.pl
+
13
−
8
View file @
05f83ddd
...
...
@@ -460,8 +460,8 @@ if ($nboftargetok) {
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/phpexcel/license.txt
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/phpexcel/PHPExcel/Shared/PDF
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-
2.33
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/tcpdf/fonts/freefont-
20100919
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-
*
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/tcpdf/fonts/freefont-
*
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/tcpdf/fonts/utils
`;
$ret
=
`
rm -f
$BUILDROOT
/
$PROJECT
/htdocs/includes/tcpdf/LICENSE.TXT
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
/htdocs/includes/savant
`;
...
...
@@ -610,9 +610,6 @@ if ($nboftargetok) {
print
"
Version is
$MAJOR
.
$MINOR
.
$REL1
-
$RPMSUBVERSION
\n
";
#print "Create directory $RPMDIR\n";
#$ret=`mkdir -p "$RPMDIR"`;
print
"
Remove target
"
.
$FILENAMERPM
.
"
...
\n
";
unlink
("
$NEWDESTI
/
"
.
$FILENAMERPM
);
print
"
Remove target
"
.
$FILENAMETGZ2
.
"
-
"
.
$RPMSUBVERSION
.
"
.src.rpm...
\n
";
...
...
@@ -620,13 +617,13 @@ if ($nboftargetok) {
print
"
Create directory
$BUILDROOT
/
$FILENAMETGZ2
\n
";
$ret
=
`
rm -fr
$BUILDROOT
/
$FILENAMETGZ2
`;
print
"
Copy
$BUILDROOT
/
$PROJECT
to
$BUILDROOT
/
$FILENAMETGZ2
\n
";
$cmd
=
"
cp -pr '
$BUILDROOT
/
$PROJECT
' '
$BUILDROOT
/
$FILENAMETGZ2
'
";
$ret
=
`
$cmd
`;
# Set owners
#print "Set owners on files/dir\n";
#$ret=`chown -R root.root $BUILDROOT/$FILENAMETGZ2`;
# Removed files we don't need
$ret
=
`
rm -fr
$BUILDROOT
/
$FILENAMETGZ2
/htdocs/includes/ckeditor/_source
`;
print
"
Set permissions on files/dir
\n
";
$ret
=
`
chmod -R 755
$BUILDROOT
/
$FILENAMETGZ2
`;
...
...
@@ -747,10 +744,18 @@ if ($nboftargetok) {
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/build/rpm
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/build/zip
`;
# Removed duplicate license files
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/_source/LICENSE.md
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/_source/plugins/scayt/LICENSE.md
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/_source/plugins/wsc/LICENSE.md
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/LICENSE.md
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/plugins/scayt/LICENSE.md
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/plugins/wsc/LICENSE.md
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/jquery/plugins/flot/LICENSE.txt
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE
`;
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/tcpdf/fonts/freefont-20120503/COPYING
`;
# Removed files we don't need
$ret
=
`
rm -fr
$BUILDROOT
/
$PROJECT
.tmp/htdocs/includes/ckeditor/_source
`;
# Rename upstream changelog to match debian rules
$ret
=
`
mv
$BUILDROOT
/
$PROJECT
.tmp/ChangeLog
$BUILDROOT
/
$PROJECT
.tmp/changelog
`;
...
...
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