• Luca Giambonini's avatar
    Handle if a file has been replaced by an other package · 728e30fc
    Luca Giambonini authored
    Added special case:
    during the validation process each new file added by a pkg (B) is checked and verified that none of the files are present in the target system. If it were the case then there are 2 possible answers:
    1) the file has been added manually by the user (and the user should resolve the issue himself)
    2) the file belong to an other pkg (A)
    
    Let consider the case 2) where (B) is about to be updated and will replace some files from (A). Without this patch during the validation transaction (B) would fail, because an existin file with that name exists already in the system. The code verify that the file in subject would be removed in the next transaction, when (A) is being updated.
    fileSystemRemovals at the end of the loop, contains all the files removed.
    
    fix #8
    728e30fc
Name
Last commit
Last update
.tx Loading commit data...
cmake/modules Loading commit data...
debian Loading commit data...
docs Loading commit data...
etc Loading commit data...
include/Akabei Loading commit data...
lib Loading commit data...
tools Loading commit data...
translations Loading commit data...
.gitignore Loading commit data...
.reviewboardrc Loading commit data...
CMakeLists.txt Loading commit data...
Doxyfile.in Loading commit data...
Mainpage.dox Loading commit data...
akabeicoreconfig.h.cmake Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
freenode.txt Loading commit data...
sync-transifex.sh Loading commit data...