wok-4.x rev 9802
youtube-dl: be compatible with cookutils and keep source file in source repository.
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 14:29:23 2011 +0200 (2011-05-14) |
parents | 35f2d9d491ed |
children | 62744eb00710 |
files | youtube-dl/receipt |
line diff
1.1 --- a/youtube-dl/receipt Sat May 14 14:15:59 2011 +0200 1.2 +++ b/youtube-dl/receipt Sat May 14 14:29:23 2011 +0200 1.3 @@ -15,6 +15,7 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/bin 1.7 - cp -a $src/$PACKAGE $fs/usr/bin 1.8 + [ -x /usr/bin/tazwok ] && cp -a $src/$PACKAGE $fs/usr/bin 1.9 + [ -x /usr/bin/cook ] && cp -a $SRC/$PACKAGE $fs/usr/bin 1.10 chmod +x $fs/usr/bin/$PACKAGE 1.11 -} 1.12 \ No newline at end of file 1.13 +}