#!/bin/sh
set -e 
for f in `ls -d /home/*/.config/google-chrome`;
	do
	cp -rfd /usr/lib/PepperFlash $f;
	USER=`echo $f|cut -d '/' -f 3`;
	chown -R $USER:$USER $f/PepperFlash >/dev/null 2>&1 || true;
	sed -i "s#@@#$USER#" $f/PepperFlash/latest-component-updated-flash
done
