make_desktop_entry: fix tab/space corruption
authorMike Frysinger <vapier@gentoo.org>
Sun, 7 Mar 2010 02:52:25 +0000 (02:52 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 7 Mar 2010 02:52:25 +0000 (02:52 +0000)
eclass/eutils.eclass

index 9e251802dfc72cafc1b7c453b80382872ccba33e..2f610d4dffb3536599d95813480c00c351b92fac 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.337 2010/03/02 00:52:26 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.338 2010/03/07 02:52:25 vapier Exp $
 
 # @ECLASS: eutils.eclass
 # @MAINTAINER:
@@ -884,22 +884,21 @@ make_desktop_entry() {
                        app)
                                case ${catmin} in
                                        accessibility) type=Accessibility;;
-                                       admin)     type=System;;
-                                       antivirus) type=System;;
-                                       arch)      type=Archiving;;
-                                       backup)    type=Archiving;;
-                                       cdr)       type=DiscBurning;;
-                                       dicts)     type=Dictionary;;
-                                       doc)       type=Documentation;;
-                                       editors)   type=TextEditor;;
-                                       emacs)     type=TextEditor;;
-                                       emulation) type=Emulator;;
-                                       laptop)    type=HardwareSettings;;
-                                       office)    type=Office;;
-                                       pda)       type=PDA;;
-                                       vim)       type=TextEditor;;
-                                       xemacs)    type=TextEditor;;
-                                       *)                 type=;;
+                                       admin)         type=System;;
+                                       antivirus)     type=System;;
+                                       arch)          type=Archiving;;
+                                       backup)        type=Archiving;;
+                                       cdr)           type=DiscBurning;;
+                                       dicts)         type=Dictionary;;
+                                       doc)           type=Documentation;;
+                                       editors)       type=TextEditor;;
+                                       emacs)         type=TextEditor;;
+                                       emulation)     type=Emulator;;
+                                       laptop)        type=HardwareSettings;;
+                                       office)        type=Office;;
+                                       pda)           type=PDA;;
+                                       vim)           type=TextEditor;;
+                                       xemacs)        type=TextEditor;;
                                esac
                                ;;
 
@@ -910,17 +909,16 @@ make_desktop_entry() {
                        games)
                                case ${catmin} in
                                        action|fps) type=ActionGame;;
-                                       arcade)         type=ArcadeGame;;
-                                       board)          type=BoardGame;;
-                                       emulation)      type=Emulator;;
-                                       kids)           type=KidsGame;;
-                                       puzzle)         type=LogicGame;;
-                                       roguelike)      type=RolePlaying;;
-                                       rpg)            type=RolePlaying;;
+                                       arcade)     type=ArcadeGame;;
+                                       board)      type=BoardGame;;
+                                       emulation)  type=Emulator;;
+                                       kids)       type=KidsGame;;
+                                       puzzle)     type=LogicGame;;
+                                       roguelike)  type=RolePlaying;;
+                                       rpg)        type=RolePlaying;;
                                        simulation) type=Simulation;;
-                                       sports)         type=SportsGame;;
-                                       strategy)       type=StrategyGame;;
-                                       *)                      type=;;
+                                       sports)     type=SportsGame;;
+                                       strategy)   type=StrategyGame;;
                                esac
                                type="Game;${type}"
                                ;;
@@ -942,9 +940,8 @@ make_desktop_entry() {
                                        gfx)   type=Graphics;;
                                        radio) type=Tuner;;
                                        sound) type=Audio;;
-                                       tv)        type=TV;;
+                                       tv)    type=TV;;
                                        video) type=Video;;
-                                       *)         type=;;
                                esac
                                type="AudioVideo;${type}"
                                ;;
@@ -952,15 +949,14 @@ make_desktop_entry() {
                        net)
                                case ${catmin} in
                                        dialup) type=Dialup;;
-                                       ftp)    type=FileTransfer;;
-                                       im)             type=InstantMessaging;;
-                                       irc)    type=IRCClient;;
-                                       mail)   type=Email;;
-                                       news)   type=News;;
-                                       nntp)   type=News;;
-                                       p2p)    type=FileTransfer;;
-                                       voip)   type=Telephony;;
-                                       *)              type=;;
+                                       ftp)    type=FileTransfer;;
+                                       im)     type=InstantMessaging;;
+                                       irc)    type=IRCClient;;
+                                       mail)   type=Email;;
+                                       news)   type=News;;
+                                       nntp)   type=News;;
+                                       p2p)    type=FileTransfer;;
+                                       voip)   type=Telephony;;
                                esac
                                type="Network;${type}"
                                ;;
@@ -968,15 +964,14 @@ make_desktop_entry() {
                        sci)
                                case ${catmin} in
                                        astro*)  type=Astronomy;;
-                                       bio*)    type=Biology;;
-                                       calc*)   type=Calculator;;
-                                       chem*)   type=Chemistry;;
+                                       bio*)    type=Biology;;
+                                       calc*)   type=Calculator;;
+                                       chem*)   type=Chemistry;;
                                        elec*)   type=Electronics;;
-                                       geo*)    type=Geology;;
-                                       math*)   type=Math;;
+                                       geo*)    type=Geology;;
+                                       math*)   type=Math;;
                                        physics) type=Physics;;
                                        visual*) type=DataVisualization;;
-                                       *)               type=;;
                                esac
                                type="Education;Science;${type}"
                                ;;
@@ -988,7 +983,6 @@ make_desktop_entry() {
                        www)
                                case ${catmin} in
                                        client) type=WebBrowser;;
-                                       *)              type=;;
                                esac
                                type="Network;${type}"
                                ;;