wok-6.x rev 7763

Updated .desktop Categories
author Liu Peng <rocky@slitaz.org>
date Wed Dec 22 22:34:30 2010 +0000 (2010-12-22)
parents 5fda4e3d1630
children be53d1fa675a
files get-wakoopa/stuff/get-wakoopa
line diff
     1.1 --- a/get-wakoopa/stuff/get-wakoopa	Wed Dec 22 13:37:46 2010 +0100
     1.2 +++ b/get-wakoopa/stuff/get-wakoopa	Wed Dec 22 22:34:30 2010 +0000
     1.3 @@ -36,14 +36,14 @@
     1.4  fi
     1.5  
     1.6  rpm2cpio $RPMPKG | cpio -dium
     1.7 +# updated desktop menu
     1.8 +sed -i 's/Categories=.*/Categories=Network;/g' $TEMP_DIR/usr/share/applications/wakoopa.desktop 2>/dev/null
     1.9  
    1.10  # extracted pkg can be removed: Save RAM
    1.11  rm -rf $RPMPKG
    1.12  
    1.13  mkdir -p $PACKAGE-$VERSION/fs
    1.14  mv $TEMP_DIR/usr $PACKAGE-$VERSION/fs
    1.15 -# updated desktop menu
    1.16 -sed -i 's/Categories=.*/Categories=Network;/g' wakoopa.desktop 2> /dev/null
    1.17  
    1.18  cd $TEMP_DIR
    1.19