wok rev 17872

Up: tazpanel , tazpkg
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Mar 27 01:59:39 2015 +0100 (2015-03-27)
parents afd740108fd6
children 1a395d821cb7
files tazpanel/receipt tazpkg/receipt
line diff
     1.1 --- a/tazpanel/receipt	Thu Mar 26 23:41:46 2015 +0000
     1.2 +++ b/tazpanel/receipt	Fri Mar 27 01:59:39 2015 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tazpanel"
     1.7 -VERSION="1.8.4"
     1.8 +VERSION="425"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="SliTaz administration and configuration panel."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/tazpkg/receipt	Thu Mar 26 23:41:46 2015 +0000
     2.2 +++ b/tazpkg/receipt	Fri Mar 27 01:59:39 2015 +0100
     2.3 @@ -39,11 +39,9 @@
     2.4  
     2.5  	# Default icon for mimetype (freedesktop standard compliant file
     2.6  	# manager will diplay a tazpkg icon for SliTaz packages).
     2.7 -	mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
     2.8 -	ln -s /usr/share/pixmaps/tazpkg.png \
     2.9 -		$fs/usr/share/icons/hicolor/32x32/mimetypes/application-x-tazpkg.png
    2.10 -
    2.11 -	rm -rf $fs/usr/share/mime
    2.12 +	icons="$fs/usr/share/icons/hicolor/32x32/mimetypes"
    2.13 +	mkdir -p $icons
    2.14 +	ln -s ../apps/tazpkg.png $icons/application-x-tazpkg.png
    2.15  }
    2.16  
    2.17  post_install()
    2.18 @@ -60,4 +58,7 @@
    2.19  
    2.20  EOT
    2.21  	fi
    2.22 +
    2.23 +	[ ! -f "$1/$PKGS_DB/installed.info" -a -f "$1/run/tazpanel.pid" ] && \
    2.24 +		chroot "$1/" echo $(tazpkg -l) | grep installed.info
    2.25  }