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 ""