reprepro: Ensure to remove useless .deb in any case
This commit is contained in:
parent
494ac1ef70
commit
af622337ff
|
@ -203,17 +203,19 @@ Manage ${package} file."
|
||||||
|| error_message "Error when adding ${package} to ${release}." 4
|
|| error_message "Error when adding ${package} to ${release}." 4
|
||||||
done
|
done
|
||||||
### }}}
|
### }}}
|
||||||
### Then finally remove the package {{{
|
|
||||||
debug_message "while_package − \
|
|
||||||
Remove ${package} file."
|
|
||||||
rm -f -- "${package}"
|
|
||||||
### }}}
|
|
||||||
else
|
else
|
||||||
### If package is empty or doesn't exists, just skip it {{{
|
### If package is empty or doesn't exists, just skip it {{{
|
||||||
debug_message "while_package − \
|
debug_message "while_package − \
|
||||||
Skip ${package} file."
|
Skip ${package} file."
|
||||||
### }}}
|
### }}}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### In any case, remove the package {{{
|
||||||
|
debug_message "while_package − \
|
||||||
|
Remove ${package} file."
|
||||||
|
rm --force -- "${package}"
|
||||||
|
### }}}
|
||||||
|
|
||||||
done < "${packages_list_file}"
|
done < "${packages_list_file}"
|
||||||
## }}}
|
## }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue