wok-6.x rev 16600

get-skype: create /var/lib/dbus/machine-id, thanks yves04
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 14:16:51 2014 +0000 (2014-05-07)
parents 0f0f18c077ac
children f499057669ab
files get-skype/stuff/get-skype
line diff
     1.1 --- a/get-skype/stuff/get-skype	Wed May 07 15:38:38 2014 +0200
     1.2 +++ b/get-skype/stuff/get-skype	Wed May 07 14:16:51 2014 +0000
     1.3 @@ -71,6 +71,11 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 +	[ -n "\$1" ] && return
     1.8 +	
     1.9 +	[ -s /var/lib/dbus/machine-id ] ||
    1.10 +		dbus-uuidgen > /var/lib/dbus/machine-id
    1.11 +		
    1.12  	# try to fix library versions
    1.13  	ldd /usr/bin/skype | sed '/not found/!d;s/ =>.*//' | while read lib; do
    1.14  		[ -e /usr/lib/\${lib%.*} ] &&