wok-6.x view gvfs/stuff/split @ rev 18309
Up cookutils (750)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 25 12:04:37 2015 +0200 (2015-08-25) |
parents | 96fd065ed4ea |
children | 02c70d036ea0 |
line source
1 # Split full gvfs package into gvfs-* packages
3 if [ "$PACKAGE" == "gvfs" ]; then
4 echo
5 echo "Check your gvfs upgrade!"
6 echo "========================"
8 echo 'Files not belongs any gvfs* package:'
9 for file in $(find $install -type f | sed "s|$install||g" | sort); do
10 [ -z "$(grep $file $WOK/gvfs/stuff/list)" ] && echo " $file"
11 done
13 echo 'Absent files:'
14 for file in $(sed '/:/ s|[^/]*\(.*\)|\1|g' $WOK/gvfs/stuff/list); do
15 [ ! -f "$install/$file" ] && echo " $file"
16 done
18 echo "========================"
19 echo
20 fi
22 echo -n "Copying files into package..."
23 for file in $(grep "$PACKAGE:" $WOK/gvfs/stuff/list | sed 's|[^/]*\(.*\)|\1|g'); do
24 mkdir -p $fs/$(dirname $file)
25 cp $install/$file $fs/$file
26 done
27 mkdir -p $fs/usr/share/gvfs/remote-volume-monitors
28 status