wok rev 7499

Made all firefox-langpack copy files right. Looks like mv can't move folders even with -f option. Used a cp -af then rm -rf instead.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 04 00:03:00 2010 +0000 (2010-12-04)
parents eae5abfd796b
children ab3747cf211d
files firefox-langpack-fr/receipt firefox-langpack-zh_CN/receipt firefox-langpack-zh_TW/receipt
line diff
     1.1 --- a/firefox-langpack-fr/receipt	Fri Dec 03 23:37:05 2010 +0000
     1.2 +++ b/firefox-langpack-fr/receipt	Sat Dec 04 00:03:00 2010 +0000
     1.3 @@ -31,7 +31,8 @@
     1.4  {
     1.5  	sed -i '/pref/s/en-US/fr/' /etc/firefox/pref/firefox-l10n.js
     1.6  	RealPath=/usr/lib/firefox-*/extensions/    
     1.7 -	mv -f /var/$Path $RealPath
     1.8 +	cp -af /var/$Path $RealPath
     1.9 +	rm -rf /var/$Path
    1.10  }
    1.11  
    1.12  post_remove()
     2.1 --- a/firefox-langpack-zh_CN/receipt	Fri Dec 03 23:37:05 2010 +0000
     2.2 +++ b/firefox-langpack-zh_CN/receipt	Sat Dec 04 00:03:00 2010 +0000
     2.3 @@ -29,7 +29,8 @@
     2.4  {
     2.5  	sed -i '/pref/s/en-US/zh-CN/' /etc/firefox/pref/firefox-l10n.js
     2.6  	RealPath=/usr/lib/firefox-*/extensions/    
     2.7 -	mv -f /var/$Path $RealPath
     2.8 +	cp -af /var/$Path $RealPath
     2.9 +	rm -rf /var/$Path
    2.10  }
    2.11  
    2.12  post_remove()
     3.1 --- a/firefox-langpack-zh_TW/receipt	Fri Dec 03 23:37:05 2010 +0000
     3.2 +++ b/firefox-langpack-zh_TW/receipt	Sat Dec 04 00:03:00 2010 +0000
     3.3 @@ -30,7 +30,8 @@
     3.4  {
     3.5  	sed -i "/pref/s/en-US/${TARBALL%.xpi}/" /etc/firefox/pref/firefox-l10n.js
     3.6  	RealPath=/usr/lib/firefox-*/extensions/    
     3.7 -	mv -f /var/$Path $RealPath
     3.8 +	cp -af /var/$Path $RealPath
     3.9 +	rm -rf /var/$Path
    3.10  }
    3.11  
    3.12  post_remove()