2 # Install phpUnderControl
3 /opt/phpundercontrol/bin/phpuc.php install /opt/cruisecontrol \
4 | grep -i 'creating file' \
7 > /opt/phpundercontrol/FILES
11 # Move backup files back after upgrading or removing package
12 for f in `find /opt/cruisecontrol -name "*.orig"`; do
13 mv $f `echo $f | sed 's/\.[^\.]*$//'`
18 # Remove phpUnderControl installed files
19 for f in `cat /opt/phpundercontrol/FILES`; do
20 rm /opt/cruisecontrol/$f
23 rm /opt/phpundercontrol/FILES