From 6e1d88d85ac3ccf7c3eea5238397aaacdd9d45bb Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 15 Nov 2014 22:35:26 +0100 Subject: [PATCH] add a script to copy everything to testing --- bin/opsi-administration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/opsi-administration.sh b/bin/opsi-administration.sh index 01da0e0..d08ed4a 100755 --- a/bin/opsi-administration.sh +++ b/bin/opsi-administration.sh @@ -115,7 +115,7 @@ go_copy() if [ ${FLAGS_purge} -eq ${FLAGS_TRUE} ]; then 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 ""