Skip to content
Snippets Groups Projects
Commit 99c0a1bd authored by Luan Varaschim Welter's avatar Luan Varaschim Welter
Browse files

SCRUM#304 - changing apps categories

parent 2a908baa
No related branches found
No related tags found
1 merge request!6SCRUM#304 - changing apps categories
Pipeline #
le-user-apps (0.0.4) testing; urgency=medium
* Change apps categories
-- Luan Varaschim Welter <ilvw15@inf.ufpr.br> Tue, 17 Oct 2017 12:01:49 -0300
le-user-apps (0.0.3) testing; urgency=medium
* Added programs to install as recommendation
......
le-user-apps/gconjugue/gconjugue.png /usr/share/pixmaps/
le-user-apps/desktops/* /usr/share/applications
......@@ -25,9 +25,11 @@ set -e
# Icons paths
icon="/usr/share/pixmaps/gconjugue.png"
AppPath="/usr/share/applications"
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
dpkg-divert --package le-user-apps --rename --remove $icon
dpkg-divert --package le-user-apps --rename --remove $AppPath/gconjugue.desktop
dpkg-divert --package le-user-apps --rename --remove $AppPath/tuxtype.desktop
fi
#DEBHELPER#
......@@ -26,9 +26,12 @@ set -e
# Replace low resolution gconjugue icon by a high resolution one
icon="/usr/share/pixmaps/gconjugue.png"
icondivert="/usr/share/pixmaps/.gconjugue.png"
if [ upgrade != "$1" ] || dpkg --compare-versions "$2" lt 0.0.1; then
AppPath="/usr/share/applications"
if [ upgrade != "$1" ] || dpkg --compare-versions "$2" lt 0.0.4; then
dpkg-divert --package le-user-apps --divert $icondivert --rename --add $icon
dpkg-divert --package le-user-apps --divert $AppPath/.gconjugue.desktop --rename --add $AppPath/gconjugue.desktop
dpkg-divert --package le-user-apps --divert $AppPath/.tuxtype.desktop --rename --add $AppPath/tuxtype.desktop
fi
#DEBHELPER#
[Desktop Entry]
Name=GConjugue
Name[es]=GConjugue
Name[pt_BR]=GConjugue
Comment=Conjugates Portuguese verbs
Comment[es]=Conjuga verbos en portugués
Comment[pt_BR]=Conjuga verbos em português
Exec=gconjugue
Terminal=0
Type=Application
Icon=gconjugue.png
StartupNotify=true
Categories=Education;
Keywords=dictionary;Brazilian;Portuguese;verbs
[Desktop Entry]
Name=Tux Typing
GenericName=Educational typing game
Comment=Educational typing tutor game starring Tux
Exec=tuxtype
Icon=tuxtype
Terminal=false
Type=Application
StartupNotify=true
Categories=Education;Game;
X-Ubuntu-Gettext-Domain=tuxtype
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment