#!/bin/sh
[ "$(whoami)" != 'root' ] && ( echo you are using a non-privileged account; exit 1 )

if  [ "$1" == 'copyTempSystem' ]; then cp /home/user/.CSSUfeatures/CSSUfeatures_temp_system /usr/share/hildon-desktop/transitions.ini; fi  
if  [ "$1" == 'copyTempTheme' ]; then cp /home/user/.CSSUfeatures/CSSUfeatures_temp_theme /etc/hildon/theme/transitions.ini; fi  
if  [ "$1" == 'copyDefault' ]; then cp /usr/share/hildon-desktop/transitions.ini.default /usr/share/hildon-desktop/transitions.ini; fi  
