chore: don't try to backup CosmicAdaptive.colors
This commit is contained in:
parent
76aeac9a2e
commit
8fa5251f62
1 changed files with 1 additions and 1 deletions
|
|
@ -237,11 +237,11 @@ contrast=4
|
|||
|
||||
let cosmic_adaptive_colors = data_dir.join("CosmicAdaptive.colors");
|
||||
let kdeglobals_file = config_dir.join("kdeglobals");
|
||||
Self::backup_non_cosmic_kdeglobals(&kdeglobals_file).map_err(OutputError::Io)?;
|
||||
|
||||
#[cfg(target_family = "unix")]
|
||||
for dest_file in &[cosmic_adaptive_colors, kdeglobals_file] {
|
||||
use std::os::unix::fs::symlink;
|
||||
Self::backup_non_cosmic_kdeglobals(&dest_file).map_err(OutputError::Io)?;
|
||||
|
||||
if dest_file.exists() {
|
||||
// Currently we overwrite the file with our symlink.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue