Update debian package
This commit is contained in:
parent
93ad853850
commit
3735946657
2
build/deb/dolibarr.menu
Normal file
2
build/deb/dolibarr.menu
Normal file
@ -0,0 +1,2 @@
|
||||
?package(dolibarr):needs="X11" section="Applications/File Management" \
|
||||
title="Dolibarr" command="/usr/bin/rundolibarr.sh" icon="/usr/share/pixmaps/nautilus.xpm"
|
||||
3
build/deb/menu
Normal file
3
build/deb/menu
Normal file
@ -0,0 +1,3 @@
|
||||
# This file seems to be useless
|
||||
# Antoher way to add menu is file dolibarr.menu
|
||||
text Apps/Misc dolibarr none "Dolibarr ERP/CRM" rundolibarr.sh
|
||||
@ -127,7 +127,8 @@ case "$1" in
|
||||
done
|
||||
done
|
||||
|
||||
echo "Go on page http://localhost/dolibarr/ to complete the installation and use Dolibarr."
|
||||
echo "Install menu entry"
|
||||
if test -x /usr/bin/update-menus; then update-menus; fi
|
||||
|
||||
# TODO Create the file to force parameters in Web installer
|
||||
#if grep DBHOST /usr/share/dolibarr/htdocs/conf/conf.php > /dev/null
|
||||
@ -141,6 +142,7 @@ case "$1" in
|
||||
servers="apache2-ssl apache2 mysql"
|
||||
. /usr/share/wwwconfig-common/restart.sh
|
||||
|
||||
echo "Launch Dolibarr on page http://localhost/dolibarr/ to complete the installation and use Dolibarr."
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
||||
@ -99,7 +99,11 @@ case "$1" in
|
||||
db_purge
|
||||
;;
|
||||
remove)
|
||||
echo "Force remove of /usr/share/dolibarr/htdocs/install"
|
||||
rm -fr /usr/share/dolibarr/htdocs/install
|
||||
|
||||
echo "Remove menu entry"
|
||||
if test -x /usr/bin/update-menus; then update-menus; fi
|
||||
;;
|
||||
upgrade)
|
||||
;;
|
||||
|
||||
@ -384,6 +384,7 @@ if ($nboftargetok) {
|
||||
open (SPECTO,">$BUILDROOT/$PROJECT/DEBIAN/control") || die "Error";
|
||||
while (<SPECFROM>) {
|
||||
$newbuild = $BUILD;
|
||||
$newbuild =~ s/dev/0/gi;
|
||||
$newbuild =~ s/alpha/0/gi;
|
||||
$newbuild =~ s/beta/1/gi;
|
||||
if ($newbuild !~ /-/) { $newbuild.='-2'; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user