wok view gvfs/stuff/split @ rev 20114
Up xchm (1.23), apulse (0.1.10)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 12 11:31:13 2017 +0200 (2017-10-12) |
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