Files
dotfiles/bootstrap.pl
2020-07-12 04:01:46 +01:00

23 lines
353 B
Perl
Executable File

#!/usr/bin/env perl
use strict;
use warnings;
use autodie;
use Cwd;
use Stow;
# Stow files
my $dir = getcwd;
my %stow_options = ( dir => $dir,
target => $ENV{'HOME'});
my $stow = new Stow(%stow_options);
my @pkgs = ('files');
$stow->plan_stow(@pkgs);
# my %conflicts = $stow->get_conflicts();
$stow->process_tasks();
print "done\n";