add a script to copy everything to testing

This commit is contained in:
Mario Fetka 2014-11-15 22:14:14 +01:00
parent 6d71a45ecd
commit d1b9ac3be2

View File

@ -113,9 +113,9 @@ go_copy()
echo "Package Name: ${copy_name}" >> $copy_list
echo "" >> $copy_list
if [ ${FLAGS_purge} -eq ${FLAGS_TRUE} ]; then
rm -f ${copy_to_dir}/${copy_name}* &>> $copy_list
rm -f ${copy_to_dir}/${copy_name}* >> $copy_list
fi
ln -vf ${copy_from_dir}/${copy_name}{-,_}${copy_version}* ${copy_to_dir}/ >> $copy_list
ln -vf ${copy_from_dir}/${copy_name}{_,-}${copy_version}* ${copy_to_dir}/ >> $copy_list
boxes -d shell $copy_list
echo ""
@ -134,7 +134,7 @@ go_delete()
echo ""
echo "Web Root : ${delete_dir} Package Name: ${delete_name}" >> $delete_list
echo "" >> $delete_list
rm -f ${delete_dir}/${delete_name}{-,_}${delete_version}* >> $delete_list
rm -f ${delete_dir}/${delete_name}{_,-}${delete_version}* >> $delete_list
boxes -d shell $delete_list
echo ""