Skip to content

Commit

Permalink
Work with gzip for debian package instead of xz
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 29, 2022
1 parent 2d29e08 commit f767678
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/debian/source/options
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Use bzip2 instead of gzip
compression = "bzip2"
compression-level = 9
# Force use of gzip compression by dpkg-buildpackage
compression = "gzip"
#compression-level = 9
5 changes: 3 additions & 2 deletions build/makepack-dolibarr.pl
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@
mkdir($DESTI.'/standard');
if (-d $DESTI.'/standard') { $NEWDESTI=$DESTI.'/standard'; }
}

print "Remove target $FILENAMETGZ.tgz...\n";
unlink("$NEWDESTI/$FILENAMETGZ.tgz");

Expand Down Expand Up @@ -1064,7 +1064,8 @@
$ret=`mv $BUILDROOT/*_all.deb "$NEWDESTI/"`;
$ret=`mv $BUILDROOT/*.dsc "$NEWDESTI/"`;
$ret=`mv $BUILDROOT/*.orig.tar.gz "$NEWDESTI/"`;
$ret=`mv $BUILDROOT/*.debian.tar.xz "$NEWDESTI/"`;
#$ret=`mv $BUILDROOT/*.debian.tar.xz "$NEWDESTI/"`; # xz file is generated when build/debian/sources/option
$ret=`mv $BUILDROOT/*.debian.tar.gz "$NEWDESTI/"`;
$ret=`mv $BUILDROOT/*.changes "$NEWDESTI/"`;
next;
}
Expand Down

0 comments on commit f767678

Please sign in to comment.