tazpkg rev 665
meta packages may have no filesystem
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 24 20:25:59 2014 +0000 (2014-02-24) |
parents | edae96a252ac |
children | e2d2cd9a21b1 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Sat Feb 22 23:02:16 2014 +0000 1.2 +++ b/tazpkg Mon Feb 24 20:25:59 2014 +0000 1.3 @@ -674,7 +674,7 @@ 1.4 status 1.5 fi 1.6 action "Installing \$PACKAGE..." 1.7 - cp -a fs/* $ROOT/ 1.8 + [ "$(ls fs/* 2> /dev/null)" ] && cp -a fs/* $ROOT/ 1.9 status 1.10 if [ -s files2remove.list ]; then 1.11 action "Removing old \$PACKAGE..."