Update files structure
This commit is contained in:
15
bootstrap.pl
15
bootstrap.pl
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user