~ubuntu-branches/ubuntu/gutsy/amsn/gutsy

« back to all changes in this revision

Viewing changes to utils/update-amsn.sh

  • Committer: Bazaar Package Importer
  • Author(s): Theodore Karkoulis
  • Date: 2006-01-04 15:26:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104152602-ipe1yg00rl3nlklv
Tags: 0.95-1
New Upstream Release (closes: #345052, #278575).

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#v0.1: 18/01/03
9
9
##############################################################################
10
10
 
11
 
AMSNPATH=~/coding/msn
12
 
EXTRASPATH=~/coding/msn/amsn-extras
 
11
AMSNPATH=~/msn
 
12
EXTRASPATH=~/msn/amsn-extras
13
13
 
14
14
cd ${AMSNPATH}
15
15
echo "Updating amsn..."
31
31
        fi
32
32
done
33
33
                
 
34
cd ${EXTRASPATH}/plugins
 
35
for PLUGIN in *
 
36
do
 
37
        if [ $PLUGIN != "CVS" ]; then
 
38
                if [ ! -e "${AMSNPATH}/plugins/${PLUGIN}" ]; then       #Link already exists?
 
39
                        echo "Linking plugin ${PLUGIN}..."
 
40
                        ln -s ${EXTRASPATH}/plugins/${PLUGIN} ${AMSNPATH}/plugins/${PLUGIN}
 
41
                else
 
42
                        echo "Not linking plugin ${PLUGIN}. Link already exists..."
 
43
                fi
 
44
        fi
 
45
done
 
46