correct cfg file delte

This commit is contained in:
Mario Fetka 2013-03-10 07:29:03 +01:00
parent 0d8b325274
commit f6505a1765

View File

@ -392,7 +392,7 @@ EOF
# Paranoid ... check the files to delete first
if [ ! -z "${dir_base}" ] && [ -d "${OPSI_REPOS_BASE_DIR}" ] && [ ! -z "$product_file" ] ; then
rm -f ${product_file}* ${cfg_file}
rm -f ${product_file}* ${cfg_sort_file}
# remove directory - if it's empty
if [ $(ls -1A ${dir_base} | wc -l) -eq 0 ]; then