~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to admin/update_iconsets.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2006-01-20 00:20:36 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060120002036-7nw6yo6totip0ee5
Tags: 0.10-2
* Added upstream changelog (Closes: Bug#327748)
* Mention --no-gpg and --no-gpg-agent in manpage (Closes: Bug#204416)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
SOURCE_DIR=../../iconsets
 
4
TARGET_DIR=../iconsets
 
5
 
 
6
ROSTER_DEFAULT='crystal-roster'
 
7
ROSTER_EXTRAS='
 
8
        crystal-aim crystal-icq crystal-msn crystal-service crystal-yahoo 
 
9
        crystal-gadu crystal-sms crystal-roster
 
10
        '
 
11
 
 
12
SYSTEM_DEFAULT='crystal-system'
 
13
SYSTEM_EXTRAS=''
 
14
 
 
15
################################################################################
 
16
 
 
17
if test ! -d $SOURCE_DIR; then
 
18
        echo "Cannot find source dir $SOURCE_DIR"
 
19
        exit
 
20
fi
 
21
 
 
22
if test ! -d $TARGET_DIR; then
 
23
        echo "Cannot find target dir $TARGET_DIR"
 
24
        exit
 
25
fi
 
26
 
 
27
################################################################################
 
28
 
 
29
# Roster iconsets
 
30
echo '*** Updating Roster iconsets ***'
 
31
#cp -R $SOURCE_DIR/roster/$ROSTER_DEFAULT/* $TARGET_DIR/roster/default
 
32
rm -f $TARGET_DIR/roster/default/Makefile
 
33
for i in $ROSTER_EXTRAS; do
 
34
        make -C $SOURCE_DIR/roster $i.jisp
 
35
        cp $SOURCE_DIR/roster/$i.jisp $TARGET_DIR/roster
 
36
done
 
37
 
 
38
################################################################################
 
39
 
 
40
# System iconsets
 
41
echo '*** Updating System iconsets ***'
 
42
#cp -R $SOURCE_DIR/system/$SYSTEM_DEFAULT/* $TARGET_DIR/system/default
 
43
rm -f $TARGET_DIR/system/default/Makefile
 
44
for i in $SYSTEM_EXTRAS; do
 
45
        make -C $SOURCE_DIR/system $i.jisp
 
46
        cp $SOURCE_DIR/system/$i.jisp $TARGET_DIR/system
 
47
done