From 1a65aa3be2eb7b2cb3a594359c00815b24e57f34 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 15 Nov 2014 22:15:34 +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 d64b491..01da0e0 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 ""