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
|
||||
done
|
||||
### }}}
|
||||
### Then finally remove the package {{{
|
||||
debug_message "while_package − \
|
||||
Remove ${package} file."
|
||||
rm -f -- "${package}"
|
||||
### }}}
|
||||
else
|
||||
### If package is empty or doesn't exists, just skip it {{{
|
||||
debug_message "while_package − \
|
||||
Skip ${package} file."
|
||||
### }}}
|
||||
fi
|
||||
|
||||
### In any case, remove the package {{{
|
||||
debug_message "while_package − \
|
||||
Remove ${package} file."
|
||||
rm --force -- "${package}"
|
||||
### }}}
|
||||
|
||||
done < "${packages_list_file}"
|
||||
## }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue