blob: b1f480f4b041a611e9dbaa827dea2768696d5be7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
# This script is the complement to pack-symlinks script.
#
# GPL'ed by Mikhael Goikhman.
ICONS_DIR=../../icons
INFO_FILE=_symlinks.lst
cd $ICONS_DIR
for iconSet in *; do
[ -d "$iconSet" ] || continue
[ $iconSet = CVS ] && continue
echo -n "Processing $iconSet ... "
if ! cd $iconSet; then
echo failed; continue
fi
if [ ! -f $INFO_FILE ]; then
cd ..; echo skipped; continue
fi
cat $INFO_FILE | xargs -n 2 -r ln -sf
rm $INFO_FILE
cd ..
echo "done"
done
|