Update files structure

This commit is contained in:
Andrejus
2020-07-12 04:01:46 +01:00
parent b748e73e80
commit 1418a61962
19 changed files with 16 additions and 47 deletions

View File

@@ -9,11 +9,14 @@ use Stow;
# Stow files
my $dir = getcwd;
my %stow_options = (
dir => "$dir/files",
target => "$ENV{'HOME'}"
);
my %stow_options = ( dir => $dir,
target => $ENV{'HOME'});
my $stow = new Stow(%stow_options);
my %conflicts = $stow->get_conflicts;
$stow->process_tasks() unless %conflicts;
my @pkgs = ('files');
$stow->plan_stow(@pkgs);
# my %conflicts = $stow->get_conflicts();
$stow->process_tasks();
print "done\n";