wok annotate gvfs/stuff/split @ rev 21485
libsdl2-ttf-dev: add pkgconfig
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 13:05:10 2019 +0200 (2019-05-01) |
parents | daaed416b749 |
children |
rev | line source |
---|---|
al@17280 | 1 # Split full gvfs package into gvfs-* packages |
al@17280 | 2 |
pascal@20892 | 3 if [ "$PACKAGE" = "gvfs" ]; then |
al@17280 | 4 echo |
al@17280 | 5 echo "Check your gvfs upgrade!" |
al@17280 | 6 echo "========================" |
al@17280 | 7 |
al@17280 | 8 echo 'Files not belongs any gvfs* package:' |
al@17280 | 9 for file in $(find $install -type f | sed "s|$install||g" | sort); do |
al@17280 | 10 [ -z "$(grep $file $WOK/gvfs/stuff/list)" ] && echo " $file" |
al@17280 | 11 done |
al@17280 | 12 |
al@17280 | 13 echo 'Absent files:' |
al@17280 | 14 for file in $(sed '/:/ s|[^/]*\(.*\)|\1|g' $WOK/gvfs/stuff/list); do |
al@17280 | 15 [ ! -f "$install/$file" ] && echo " $file" |
al@17280 | 16 done |
al@17280 | 17 |
al@17280 | 18 echo "========================" |
al@17280 | 19 echo |
al@17280 | 20 fi |
al@17280 | 21 |
al@17280 | 22 echo -n "Copying files into package..." |
al@17280 | 23 for file in $(grep "$PACKAGE:" $WOK/gvfs/stuff/list | sed 's|[^/]*\(.*\)|\1|g'); do |
al@17280 | 24 mkdir -p $fs/$(dirname $file) |
al@17280 | 25 cp $install/$file $fs/$file |
al@17280 | 26 done |
pascal@17506 | 27 mkdir -p $fs/usr/share/gvfs/remote-volume-monitors |
al@17280 | 28 status |