Fix: Debian package
This commit is contained in:
parent
29bb629ded
commit
0baaf26d2d
@ -1,6 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
# This file is used to add Ubuntu menu entry
|
# This file is used to add Ubuntu menu entry
|
||||||
# It must be saved into directory /usr/share/applications
|
# It must be saved into directory /usr/share/applications
|
||||||
|
Version=1.0
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=Dolibarr ERP/CRM
|
Name=Dolibarr ERP/CRM
|
||||||
GenericName=Dolibarr ERP/CRM
|
GenericName=Dolibarr ERP/CRM
|
||||||
@ -10,7 +11,8 @@ Exec=xdg-open http://localhost/dolibarr
|
|||||||
Icon=dolibarr
|
Icon=dolibarr
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Category=Application;Office
|
Category=Application;Office;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
InitialPreference=5
|
||||||
#NoDisplay=true
|
#NoDisplay=true
|
||||||
#OnlyShowIn=GNOME
|
#OnlyShowIn=GNOME
|
||||||
|
|||||||
@ -123,13 +123,13 @@ case "$1" in
|
|||||||
echo "Copy icon file"
|
echo "Copy icon file"
|
||||||
fileorig="/usr/share/dolibarr/doc/images/dolibarr.xpm"
|
fileorig="/usr/share/dolibarr/doc/images/dolibarr.xpm"
|
||||||
target="/usr/share/pixmaps/"
|
target="/usr/share/pixmaps/"
|
||||||
cp -p $fileorig $target
|
cp -f $fileorig $target
|
||||||
|
|
||||||
echo "Install menu entry"
|
echo "Install menu entry"
|
||||||
# This one is for Gnome ubuntu
|
# This one is for Gnome ubuntu
|
||||||
fileorig="/usr/share/dolibarr/build/deb/dolibarr.desktop"
|
fileorig="/usr/share/dolibarr/build/deb/dolibarr.desktop"
|
||||||
target="/usr/share/applications/"
|
target="/usr/share/applications/"
|
||||||
cp -p $fileorig $target
|
cp -f $fileorig $target
|
||||||
# Not sure this one is usefull
|
# Not sure this one is usefull
|
||||||
if test -x /usr/bin/update-menus; then update-menus; fi
|
if test -x /usr/bin/update-menus; then update-menus; fi
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user