From d1b9ac3be291ea051c8f982531cc5ed9f1c5c94b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 15 Nov 2014 22:14:14 +0100 Subject: [PATCH] add a script to copy everything to testing --- bin/opsi-administration.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/opsi-administration.sh b/bin/opsi-administration.sh index 7164762..d64b491 100755 --- a/bin/opsi-administration.sh +++ b/bin/opsi-administration.sh @@ -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 ""