The element remove allows to remove a file or directory. The content of the element contains the name of the file.
The deletion of the directory is always recursive (rm -fr).
<remove>/usr/src/mypackage</remove> |
The equivalent bash script is :
echo Removing /usr/src/mypackage rm -rf /usr/src/mypackage |