4 ADDIN_TARGET_PATH_USER="/.macromedia/Flash_Player/www.macromedia.com/bin/connectaddin/"
6 # create a link of the connect addin executable in all the home directories
7 for currentUser in `ls /home`
9 ADDIN_TARGET_ABS_PATH="/home/"$currentUser$ADDIN_TARGET_PATH_USER
10 rm -rf $ADDIN_TARGET_ABS_PATH
17 ADDIN_TARGET_PATH_USER="/.macromedia/Flash_Player/www.macromedia.com/bin/connectaddin/"
19 # create a link of the connect addin executable in all the home directories
20 while IFS=: read -r f1 f2 f3 f4 f5 f6 f7
22 if test "$f3" -gt "999"
25 ADDIN_TARGET_ABS_PATH=$f6$ADDIN_TARGET_PATH_USER
26 rm -rf $ADDIN_TARGET_ABS_PATH
27 mkdir -p $ADDIN_TARGET_ABS_PATH
28 cd $ADDIN_TARGET_ABS_PATH
29 ln -s /usr/local/connectaddin
30 ln -s /usr/local/digest.s