From 0a0230c5cfbdf1908e934d19d9dbba6f19e90a68 Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Thu, 28 Oct 2021 19:19:13 +0200 Subject: [PATCH] FORK: move ~/.dfminstall to $XDG_CONFIG_HOME/dfm/install --- .dfminstall => .config/dfm/install | 0 bin/dfm | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename .dfminstall => .config/dfm/install (100%) diff --git a/.dfminstall b/.config/dfm/install similarity index 100% rename from .dfminstall rename to .config/dfm/install diff --git a/bin/dfm b/bin/dfm index 53cf7642..849c52a0 100755 --- a/bin/dfm +++ b/bin/dfm @@ -400,7 +400,7 @@ sub install_files { my $cwd_before_install = getcwd(); chdir($target_dir); - my $dfm_install = _load_dfminstall("$source_dir/.dfminstall"); + my $dfm_install = _load_dfminstall("$source_dir/.config/dfm/install"); if ( !-e $backup_dir ) { DEBUG("Creating $backup_dir"); @@ -526,7 +526,7 @@ sub uninstall_files { chdir($target_dir); - my $dfm_install = _load_dfminstall("$source_dir/.dfminstall"); + my $dfm_install = _load_dfminstall("$source_dir/.config/dfm/install"); my $dirh; opendir $dirh, $target_dir; @@ -820,7 +820,7 @@ sub _file_in_tracked_or_untracked { my $cwd_before_inspection = getcwd(); chdir($source_dir); - my $dfm_install = _load_dfminstall("$source_dir/.dfminstall"); + my $dfm_install = _load_dfminstall("$source_dir/.config/dfm/install"); # skip vim swap files return ('skip') if $file =~ /.*\.sw.$/;