Commit 9bd9b7d1 authored by Lukas Appelhans's avatar Lukas Appelhans

remove it when removeconfig is present

parent 707d1b3e
......@@ -66,7 +66,7 @@ void PlainRemoveOperation::run()
int idx = 0;
int filesSize = d->package->retrieveFiles().size();
foreach (const QString &file, d->package->retrieveFiles()) {
if ((file.endsWith('/') && !QFileInfo(file).isSymLink()) || backup.contains(file)) {
if ((file.endsWith('/') && !QFileInfo(file).isSymLink()) || (!(processingOptions() & Akabei::RemoveConfigs) && backup.contains(file))) {
++idx;
// It's a directory
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment